]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifs: update dstaddr whenever channel iface is updated
authorShyam Prasad N <sprasad@microsoft.com>
Mon, 2 Jun 2025 17:07:14 +0000 (22:37 +0530)
committerSteve French <stfrench@microsoft.com>
Mon, 2 Jun 2025 18:34:27 +0000 (13:34 -0500)
commitc1846893991f3b4ec8a0cc12219ada153f0814d6
tree198dfdf86c8790cf81bee82ee1dc49a8dcb4ac00
parent1f396b9bfe39aaf55ea74a7005806164b236653d
cifs: update dstaddr whenever channel iface is updated

When the server interface info changes (more common in clustered
servers like Azure Files), the per-channel iface gets updated.
However, this did not update the corresponding dstaddr. As a result
these channels will still connect (or try connecting) to older addresses.

Fixes: b54034a73baf ("cifs: during reconnect, update interface if necessary")
Cc: <stable@vger.kernel.org>
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/sess.c