aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2021-12-02 07:46:54 +0000
committerSteve French <stfrench@microsoft.com>2021-12-03 12:38:25 -0600
commitbbb9db5e2a7a1ca0926d26a279000384be21b789 (patch)
tree7ffdd1b45f7e078957f139d50e71202e2485fe48 /fs/cifs/smb2pdu.c
parentcifs: add server conn_id to fscache client cookie (diff)
downloadlinux-dev-bbb9db5e2a7a1ca0926d26a279000384be21b789.tar.xz
linux-dev-bbb9db5e2a7a1ca0926d26a279000384be21b789.zip
cifs: avoid use of dstaddr as key for fscache client cookie
server->dstaddr can change when the DNS mapping for the server hostname changes. But conn_id is a u64 counter that is incremented each time a new TCP connection is setup. So use only that as a key. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
0 files changed, 0 insertions, 0 deletions