[PATCH v2] nvme-auth: update sc_c in host response

Martin George martinus.gpy at gmail.com
Tue Sep 16 04:41:31 PDT 2025


On Tue, 2025-09-09 at 08:43 +0200, Hannes Reinecke wrote:
> On 9/8/25 19:24, Martin George wrote:
> > The sc_c field is currently not updated in the host response to the
> > controller challenge leading to failures while attempting secure
> > channel concatenation. Fix this by adding a new sc_c variable to
> > the
> > dhchap queue context structure which is appropriately set during
> > negotiate and then used in the host response.
> > 
> > Fixes: e88a7595b57f ("nvme-tcp: request secure channel
> > concatenation")
> > Signed-off-by: Martin George <marting at netapp.com>
> > Signed-off-by: Prashanth Adurthi <prashana at netapp.com>
> > ---
> > Changes in v2: set *buf to sc_c as suggested by Hannes
> > ---
> >   drivers/nvme/host/auth.c | 6 +++++-
> >   1 file changed, 5 insertions(+), 1 deletion(-)
> > 
> Reviewed-by: Hannes Reinecke <hare at suse.de>
> 
> Cheers,
> 
> Hannes

Gentle ping



More information about the Linux-nvme mailing list