diff options
| author | Steve French <[email protected]> | 2021-11-16 00:02:27 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-11-16 16:46:22 +0000 |
| commit | 446e21482e8c10b96d540862c5f6a37009436f00 (patch) | |
| tree | 0b2c46436f2ec9cc018b9725cd8d2410d4b5b330 /net/unix/af_unix.c | |
| parent | cifs: move debug print out of spinlock (diff) | |
| download | kernel-446e21482e8c10b96d540862c5f6a37009436f00.tar.gz kernel-446e21482e8c10b96d540862c5f6a37009436f00.zip | |
cifs: protect srv_count with cifs_tcp_ses_lock
Updates to the srv_count field are protected elsewhere
with the cifs_tcp_ses_lock spinlock. Add one missing place
(cifs_get_tcp_sesion).
CC: Shyam Prasad N <[email protected]>
Addresses-Coverity: 1494149 ("Data Race Condition")
Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
