Shyam Prasad N
cc7d79d4fa
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: stable@vger.kernel.org # 6.1
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
2023-01-04 23:18:07 -06:00
..
2021-06-20 21:28:17 -05:00
2022-10-19 17:57:41 -05:00
2022-10-19 17:57:41 -05:00
2022-12-19 08:03:12 -06:00
2022-10-05 01:31:18 -05:00
2022-12-19 08:03:12 -06:00
2021-11-10 16:30:13 -06:00
2022-12-12 13:08:06 -06:00
2021-06-20 21:28:17 -05:00
2022-11-01 10:04:52 -07:00
2022-01-02 20:38:46 -06:00
2022-10-05 01:31:18 -05:00
2021-04-25 16:28:22 -05:00
2021-09-13 14:51:10 -05:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2022-12-14 12:20:00 -08:00
2021-09-13 14:51:10 -05:00
2022-10-07 23:08:39 -05:00
2022-12-19 08:03:11 -06:00
2022-12-19 08:04:50 -06:00
2022-12-19 08:03:12 -06:00
2022-12-12 13:08:22 -06:00
2022-12-19 08:03:12 -06:00
2022-08-19 11:02:26 -05:00
2022-10-20 10:13:32 +02:00
2022-12-21 10:40:08 -08:00
2022-12-19 08:03:12 -06:00
2022-12-19 08:03:12 -06:00
2023-01-04 09:06:53 -06:00
2022-12-19 08:03:12 -06:00
2022-12-19 08:03:12 -06:00
2022-12-19 08:03:11 -06:00
2022-12-19 08:03:11 -06:00
2021-09-13 14:51:10 -05:00
2022-12-15 14:53:14 -08:00
2022-12-19 08:03:12 -06:00
2022-12-19 08:03:12 -06:00
2022-11-25 13:01:55 -05:00
2022-08-10 21:26:08 -05:00
2022-12-19 08:03:11 -06:00
2022-11-16 00:21:04 -06:00
2022-01-19 11:21:08 -06:00
2022-10-13 09:36:04 -05:00
2022-12-19 08:03:11 -06:00
2023-01-04 09:06:53 -06:00
2022-08-29 12:47:15 +01:00
2020-12-14 09:16:22 -06:00
2022-08-17 18:07:13 -05:00
2019-05-24 17:36:45 +02:00
2019-05-24 17:36:45 +02:00
2022-02-17 07:00:39 -06:00
2022-10-13 09:36:04 -05:00
2021-09-13 14:51:10 -05:00
2023-01-04 23:17:39 -06:00
2022-10-13 09:36:04 -05:00
2022-12-19 08:04:41 -06:00
2022-03-26 23:09:20 -05:00
2022-12-19 08:03:11 -06:00
2021-11-05 09:50:57 -05:00
2022-11-04 23:34:40 -05:00
2023-01-04 23:18:07 -06:00
2023-01-04 00:11:17 -06:00
2022-10-13 09:36:04 -05:00
2022-12-08 09:51:53 -06:00
2021-09-13 14:51:10 -05:00
2022-11-04 23:34:40 -05:00
2022-10-05 01:31:04 -05:00
2022-10-05 01:29:21 -05:00
2021-09-08 23:59:26 -05:00
2021-09-13 14:51:10 -05:00
2019-01-24 09:37:33 -06:00
2022-10-05 01:31:18 -05:00
2022-11-25 13:01:55 -05:00
2021-04-25 16:28:23 -05:00
2021-09-13 14:51:10 -05:00
2022-10-20 10:13:32 +02:00