commit | fada37f6f62995cc449b36ebba1220594bfe55fe | [log] [tgz] |
---|---|---|
author | Ronnie Sahlberg <lsahlber@redhat.com> | Tue Apr 21 12:37:39 2020 +1000 |
committer | Steve French <stfrench@microsoft.com> | Tue Apr 21 09:57:56 2020 -0500 |
tree | 6fac556247de3c9ed0dd6bba0a609b3f401aabc4 | |
parent | ae83d0b416db002fe95601e7f97f64b59514d936 [diff] |
cifs: protect updating server->dstaddr with a spinlock We use a spinlock while we are reading and accessing the destination address for a server. We need to also use this spinlock to protect when we are modifying this address from reconn_set_ipaddr(). Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>