diff options
| author | Steve French <[email protected]> | 2021-06-24 20:28:04 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-06-24 21:09:10 +0000 |
| commit | 0060a4f28a9ef45ae8163c0805e944a2b1546762 (patch) | |
| tree | 8f0c78103b3d3c2051927deed1e430e90f297ad2 /net/switchdev/switchdev.c | |
| parent | cifs: missing null pointer check in cifs_mount (diff) | |
| download | kernel-0060a4f28a9ef45ae8163c0805e944a2b1546762.tar.gz kernel-0060a4f28a9ef45ae8163c0805e944a2b1546762.zip | |
cifs: fix missing spinlock around update to ses->status
In the other places where we update ses->status we protect the
updates via GlobalMid_Lock. So to be consistent add the same
locking around it in cifs_put_smb_ses where it was missing.
Addresses-Coverity: 1268904 ("Data race condition")
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
