diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-04-21 12:37:39 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:31:27 +0200 |
commit | b31e0bd4a97abab2f7e889c59014f71d56dd3bab (patch) | |
tree | 6e2e154e6fed2754f933fa307a3683a1e63faf85 /scripts | |
parent | 0560b7c3ba48bccf60ed68aacc23c2e1c9f1c793 (diff) |
cifs: protect updating server->dstaddr with a spinlock
[ Upstream commit fada37f6f62995cc449b36ebba1220594bfe55fe ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions