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)
commitaf3a6d1018f02c6dc8388f1f3785a559c7ab5961
tree1ea9d2bc699c8245c67fa976ab78573c72b98958
parent8da33fd11c05b7c64ef6456970f2fce61851806e
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