diff options
| author | Steve French <[email protected]> | 2022-10-15 22:02:30 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2022-10-19 15:06:23 +0000 |
| commit | 096bbeec7bd6fb683831a9ca4850a6b6a3f04740 (patch) | |
| tree | 47bc48af4029615cf5093d7730416eed2558622c /drivers/platform/surface/aggregator/controller.c | |
| parent | cifs: Fix memory leak when build ntlmssp negotiate blob failed (diff) | |
| download | kernel-096bbeec7bd6fb683831a9ca4850a6b6a3f04740.tar.gz kernel-096bbeec7bd6fb683831a9ca4850a6b6a3f04740.zip | |
smb3: interface count displayed incorrectly
The "Server interfaces" count in /proc/fs/cifs/DebugData increases
as the interfaces are requeried, rather than being reset to the new
value. This could cause a problem if the server disabled
multichannel as the iface_count is checked in try_adding_channels
to see if multichannel still supported.
Also fixes a coverity warning:
Addresses-Coverity: 1526374 ("Concurrent data access violations (MISSING_LOCK)")
Cc: <[email protected]>
Reviewed-by: Bharath SM <[email protected]>
Reviewed-by: Shyam Prasad N <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions
