]> 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)
commita89c860ed80b93b36786f9119e90fdba92550eca
tree1ea9d2bc699c8245c67fa976ab78573c72b98958
parentc945928e9c9935b25dd83eb82c2d494d8ad217ee
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