]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: update cifs_ses::ip_addr after failover
authorPaulo Alcantara <pc@cjr.nz>
Fri, 24 Jun 2022 18:01:43 +0000 (15:01 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 24 Jun 2022 18:34:28 +0000 (13:34 -0500)
commitbccbc9ed1c2615417c9dd14a3a67092f2ed08317
tree1ea9d2bc699c8245c67fa976ab78573c72b98958
parent654a11fa4e3479afcf17040ca58e370550eec9aa
cifs: update cifs_ses::ip_addr after failover

cifs_ses::ip_addr wasn't being updated in cifs_session_setup() when
reconnecting SMB sessions thus returning wrong value in
/proc/fs/cifs/DebugData.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Cc: stable@kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c