diff options
| author | Shyam Prasad N <[email protected]> | 2022-12-27 11:29:28 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-01-05 05:17:39 +0000 |
| commit | 7246210ecdd0cda97fa3e3bb15c32c6c2d9a23b5 (patch) | |
| tree | cbd7c8fd87877eda7ac54dc368aaf78b9db36369 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | cifs: protect access of TCP_Server_Info::{dstaddr,hostname} (diff) | |
| download | kernel-7246210ecdd0cda97fa3e3bb15c32c6c2d9a23b5.tar.gz kernel-7246210ecdd0cda97fa3e3bb15c32c6c2d9a23b5.zip | |
cifs: refcount only the selected iface during interface update
When the server interface for a channel is not active anymore,
we have the logic to select an alternative interface. However
this was not breaking out of the loop as soon as a new alternative
was found. As a result, some interfaces may get refcounted unintentionally.
There was also a bug in checking if we found an alternate iface.
Fixed that too.
Fixes: b54034a73baf ("cifs: during reconnect, update interface if necessary")
Cc: [email protected] # 5.19+
Signed-off-by: Shyam Prasad N <[email protected]>
Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
