diff options
| author | Shyam Prasad N <[email protected]> | 2022-12-22 12:54:44 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-01-05 05:18:07 +0000 |
| commit | cc7d79d4fad6a4eab3f88c4bb237de72be4478f1 (patch) | |
| tree | 756ec621cdb7b782ddb000d4df6710ab3a28ac16 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | cifs: refcount only the selected iface during interface update (diff) | |
| download | kernel-cc7d79d4fad6a4eab3f88c4bb237de72be4478f1.tar.gz kernel-cc7d79d4fad6a4eab3f88c4bb237de72be4478f1.zip | |
cifs: fix interface count calculation during refresh
The last fix to iface_count did fix the overcounting issue.
However, during each refresh, we could end up undercounting
the iface_count, if a match was found.
Fixing this by doing increments and decrements instead of
setting it to 0 before each parsing of server interfaces.
Fixes: 096bbeec7bd6 ("smb3: interface count displayed incorrectly")
Cc: [email protected] # 6.1
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
