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-07-27 10:53:06 -07:00
2024-07-22 13:52:05 -07:00
2024-08-05 16:44:44 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-27 10:14:34 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-22 11:32:05 -07:00
2024-07-21 17:15:46 -07:00
2024-07-21 17:56:22 -07:00
2024-07-22 11:32:05 -07:00
2024-07-30 10:36:47 -07:00
2024-07-21 17:56:22 -07:00
2024-08-02 09:33:35 -07:00
2024-07-26 09:50:36 -07:00
2024-08-12 14:16:24 +01:00
2024-08-05 16:27:26 -07:00
2024-07-27 10:28:28 +09:00
2024-07-24 20:59:29 +02:00
2024-07-21 17:15:46 -07:00
2024-07-26 14:33:09 -07:00
2024-07-25 10:42:22 -07:00
2024-07-22 13:52:05 -07:00
2024-07-26 08:31:59 -06:00
2024-07-31 13:49:48 +01:00
2024-07-21 17:15:46 -07:00
2024-07-26 14:46:15 -04:00
2024-08-02 16:32:29 -07:00
2024-07-21 17:15:46 -07:00
2024-07-26 14:33:09 -07:00
2024-07-25 10:42:22 -07:00
2024-08-11 17:04:29 +01:00
2024-07-31 09:57:18 -07:00
2024-07-21 17:15:46 -07:00
2024-07-26 14:33:09 -07:00
2024-07-23 11:43:40 -07:00
2024-07-22 14:02:19 -07:00
2024-08-02 16:03:51 -07:00
2024-08-13 10:58:58 +02:00
2024-07-21 17:56:22 -07:00
2024-07-26 08:06:15 -06:00
2024-07-25 06:53:47 -05:00
2024-07-26 15:32:27 -07:00
2024-07-23 15:15:16 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-24 20:59:29 +02:00
2024-07-25 10:42:22 -07:00
2024-07-21 17:56:22 -07:00
2024-07-21 17:56:22 -07:00
2024-07-25 13:18:41 -07:00
2024-08-04 13:36:28 -07:00
2024-07-21 17:56:22 -07:00
2024-08-07 20:26:44 -04:00
2024-07-21 17:56:22 -07:00
2024-07-24 20:59:29 +02:00
2024-08-01 11:07:38 +02:00
2024-07-21 17:15:46 -07:00
2024-07-20 12:41:03 -07:00
2024-08-13 09:48:00 +02:00
2024-08-08 19:59:06 -07:00
2024-07-24 20:59:29 +02:00
2024-08-07 18:12:46 -04:00
2024-07-30 18:34:13 -07:00
2024-08-02 09:20:28 +01:00
2024-07-29 12:53:37 -07:00
2024-07-24 20:59:29 +02:00
2024-07-21 17:56:22 -07:00
2024-07-24 20:59:29 +02:00