Sagi Grimberg
b7d604cae8
nvme-auth: don't keep long lived 4k dhchap buffer
...
dhchap structure is per-queue, it is wasteful to keep it for the entire
lifetime of the queue. Allocate it dynamically and get rid of it after
authentication. We don't need kzalloc because all accessors are clearing
it before writing to it.
Also, remove redundant chap buf_size which is always 4096, use a define
instead.
Reviewed-by: Hannes Reinecke <hare@suse.de >
Signed-off-by: Sagi Grimberg <sagi@grimberg.me >
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com >
Signed-off-by: Christoph Hellwig <hch@lst.de >
2022-11-16 08:36:35 +01:00
..
2022-10-21 18:08:30 -07:00
2022-10-10 09:10:28 -07:00
2022-10-18 08:02:14 +09:00
2022-10-12 10:23:24 -07:00
2022-10-12 10:23:24 -07:00
2022-11-09 12:40:36 -07:00
2022-10-08 08:56:37 -07:00
2022-10-17 10:20:04 -07:00
2022-10-16 11:08:19 -07:00
2022-10-10 10:16:00 -07:00
2022-10-08 09:46:29 -07:00
2022-10-18 16:22:26 +05:30
2022-10-09 13:24:01 -07:00
2022-10-10 13:04:25 -07:00
2022-10-14 18:41:41 -07:00
2022-10-11 17:42:58 -06:00
2022-10-06 17:22:11 -07:00
2022-10-13 11:07:13 -07:00
2022-10-08 08:56:37 -07:00
2022-10-21 11:09:41 +02:00
2022-10-08 08:56:37 -07:00
2022-09-28 21:10:57 +09:30
2022-10-12 10:23:24 -07:00
2022-10-21 12:33:03 -07:00
2022-10-21 17:41:57 -07:00
2022-10-10 13:59:01 -07:00
2022-10-23 10:01:34 -07:00
2022-10-08 08:56:37 -07:00
2022-10-21 07:59:35 +02:00
2022-10-12 23:45:29 +02:00
2022-10-08 08:56:37 -07:00
2022-10-11 17:42:58 -06:00
2022-10-11 10:53:25 -07:00
2022-10-21 10:49:35 +02:00
2022-10-08 08:56:37 -07:00
2022-10-12 10:23:24 -07:00
2022-10-09 19:11:54 +01:00
2022-10-14 13:14:03 -07:00
2022-10-09 14:05:15 -07:00
2022-10-05 21:51:58 -05:00
2022-11-14 10:15:35 -08:00
2022-10-22 15:30:15 -07:00
2022-10-23 12:04:56 -07:00
2022-10-11 17:42:58 -06:00
2022-10-16 15:27:07 -07:00
2022-10-16 15:27:07 -07:00
2022-10-20 17:24:59 -07:00
2022-10-14 18:41:41 -07:00
2022-11-16 08:36:35 +01:00
2022-10-10 13:13:51 -07:00
2022-10-14 12:10:01 -07:00
2022-11-09 11:29:21 -07:00
2022-10-14 12:38:03 -07:00
2022-10-11 11:08:18 -07:00
2022-10-12 10:23:24 -07:00
2022-10-12 10:35:20 -07:00
2022-10-10 18:11:11 +02:00
2022-10-07 11:48:30 -07:00
2022-10-10 09:10:28 -07:00
2022-10-10 08:37:24 +01:00
2022-10-07 11:32:10 -07:00
2022-10-07 11:24:20 -07:00
2022-10-05 09:20:44 -06:00
2022-10-08 10:06:48 -07:00
2022-10-14 18:36:42 -07:00
2022-10-14 11:36:05 -07:00
2022-11-02 08:35:34 -06:00
2022-10-13 11:07:13 -07:00
2022-10-07 16:13:55 -07:00
2022-10-04 19:36:53 -07:00
2022-09-30 14:33:23 +02:00
2022-10-22 15:30:15 -07:00
2022-10-11 17:42:58 -06:00
2022-10-10 17:53:04 -07:00
2022-10-15 19:33:57 +02:00
2022-10-11 17:42:58 -06:00
2022-10-14 12:10:01 -07:00
2022-10-25 08:25:10 -06:00
2022-10-10 17:53:04 -07:00
2022-10-10 14:02:53 -07:00
2022-10-12 14:46:48 -07:00
2022-10-10 14:02:53 -07:00
2022-10-16 15:27:07 -07:00
2022-10-08 08:56:37 -07:00
2022-10-13 09:33:03 -04:00
2022-10-08 08:56:37 -07:00
2022-10-21 12:25:39 -07:00
2022-10-21 14:43:09 -07:00