Thread (27 messages) 27 messages, 3 authors, 2023-10-12

Re: [PATCH 11/18] nvme-fabrics: parse options 'keyring' and 'tls_key'

From: Hannes Reinecke <hare@suse.de>
Date: 2023-10-12 06:24:43
Also in: linux-nvme

On 10/11/23 19:32, Keith Busch wrote:
On Thu, Aug 24, 2023 at 04:39:18PM +0200, Hannes Reinecke wrote:
quoted
  	args.ta_data = queue;
  	args.ta_my_peerids[0] = pskid;
  	args.ta_num_peerids = 1;
+	if (nctrl->opts->keyring)
+		keyring = key_serial(nctrl->opts->keyring;
The key_serial call is missing the closing ')'. I fixed it up while
applying, but a little concerning. I'm guessing you tested with a
previous version?
Yes, I did. I've tried in this series to implement the suggestion from
Sagi to store the key serial in the 'opts' structure; hence you wouldn't
need to call key_serial here. But then backed it out again as it didn't
make sense.
But that was apparently imperfectly done :-(
Anyway, I've applied the series to nvme-6.7 since this otherwise looks
good. I'll let it sit there a day and send a pull request to Jens if the
build bots don't complain.
Thank you!

I had been wondering if I needed another resend...

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare@suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew
Myers, Andrew McDonald, Martje Boudien Moerman
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help