Breno Leitao
1ef33652d2
net: netpoll: extract core of netpoll_cleanup
...
Extract the core part of netpoll_cleanup(), so, it could be called from
a caller that has the rtnl lock already.
Netconsole uses this in a weird way right now:
__netpoll_cleanup(&nt->np);
spin_lock_irqsave(&target_list_lock, flags);
netdev_put(nt->np.dev, &nt->np.dev_tracker);
nt->np.dev = NULL;
nt->enabled = false;
This will be replaced by do_netpoll_cleanup() as the locking situation
is overhauled.
Signed-off-by: Breno Leitao <leitao@debian.org >
Reviewed-by: Rik van Riel <riel@surriel.com >
Signed-off-by: Paolo Abeni <pabeni@redhat.com >
2024-08-13 10:58:58 +02:00
..
2024-03-29 15:06:02 -07:00
2024-07-11 12:58:13 -07:00
2024-04-15 10:26:35 +01:00
2022-04-07 20:32:09 -07:00
2024-07-15 08:02:26 -07:00
2024-07-29 10:55:15 +01:00
2024-06-24 16:41:23 -07:00
2024-06-19 12:44:22 +01:00
2024-06-03 18:50:09 -07:00
2024-02-06 11:45:53 +01:00
2022-12-12 15:18:25 -08:00
2019-10-04 11:10:56 -07:00
2024-04-12 19:09:31 -07:00
2024-07-25 11:50:14 +02:00
2024-07-18 10:52:17 +02:00
2023-08-02 10:09:32 +01:00
2024-06-06 11:52:52 +02:00
2022-10-28 20:13:54 -07:00
2024-03-07 21:12:42 -08:00
2024-05-13 14:44:06 -07:00
2024-03-07 21:12:41 -08:00
2024-04-30 18:46:52 -07:00
2024-05-08 10:35:09 +01:00
2024-08-06 12:12:53 -07:00
2024-06-24 16:41:24 -07:00
2022-10-12 10:45:51 +02:00
2024-05-08 10:35:09 +01:00
2024-07-24 20:59:29 +02:00
2024-08-03 22:38:45 +01:00
2024-04-01 10:49:28 +01:00
2024-04-01 11:28:32 +01:00
2024-07-11 18:11:31 -07:00
2020-02-26 20:07:25 -08:00
2023-07-07 09:16:52 +01:00
2023-10-16 16:36:53 -07:00
2024-04-23 10:09:49 -07:00
2024-03-07 21:13:25 -08:00
2024-06-14 18:04:29 -07:00
2021-03-28 17:56:56 -07:00
2024-08-13 10:58:58 +02:00
2021-09-13 16:35:58 -07:00
2023-07-27 20:33:16 -07:00
2023-11-28 15:48:39 +01:00
2024-03-07 10:29:36 -08:00
2024-07-10 10:28:23 -07:00
2023-12-27 14:34:52 +00:00
2022-03-07 11:31:34 +00:00
2024-01-19 21:13:25 -08:00
2024-07-29 11:36:48 +01:00
2024-05-10 18:52:45 -07:00
2022-07-20 10:14:49 +01:00
2023-10-28 11:29:27 +01:00
2024-08-05 12:28:11 +01:00
2024-07-09 10:24:50 +02:00
2021-10-22 12:35:51 -07:00
2024-06-06 11:52:52 +02:00
2024-05-28 12:05:19 +02:00
2024-08-02 17:16:59 -07:00
2024-06-20 13:49:59 -07:00
2023-12-15 10:48:51 +00:00
2024-07-24 20:59:29 +02:00
2024-07-15 08:02:26 -07:00
2022-12-12 15:04:39 -08:00
2022-11-01 21:14:39 -07:00
2024-07-14 20:40:21 -07:00