]> www.infradead.org Git - users/hch/misc.git/commit
smb: client: allocate crypto only for primary server
authorEnzo Matsumiya <ematsumiya@suse.de>
Thu, 26 Sep 2024 17:46:14 +0000 (14:46 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 26 Sep 2024 23:15:02 +0000 (18:15 -0500)
commitf7025d861694362348efc14eaad6a17840c4e9a4
treec3229209a018ee8dd55bb6aa9a832e6fc5bf8c5c
parentb0abcd65ec545701b8793e12bc27dc98042b151a
smb: client: allocate crypto only for primary server

For extra channels, point ->secmech.{enc,dec} to the primary
server ones.

Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsencrypt.c
fs/smb/client/smb2pdu.c