Eric Dumazet
3e7917c0cd
net: linkwatch: use system_unbound_wq
...
linkwatch_event() grabs possibly very contended RTNL mutex.
system_wq is not suitable for such work.
Inspired by many noisy syzbot reports.
3 locks held by kworker/0:7/5266:
#0 : ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
#0 : ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
#1 : ffffc90003f6fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
#2 : ffffffff8fa6f208 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
Reported-by: syzbot <syzkaller@googlegroups.com>
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20240805085821.1616528-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-08-06 12:12:53 -07: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
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
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-06-18 10:59:52 +02: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
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
2024-04-30 19:03:47 -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
2024-01-19 21:13:25 -08:00
2024-07-29 11:36:48 +01:00
2024-05-10 18:52:45 -07:00
2023-10-28 11:29:27 +01:00
2024-07-02 18:59:33 -07:00
2024-07-09 10:24:50 +02:00
2024-06-06 11:52:52 +02:00
2024-05-28 12:05:19 +02:00
2022-10-25 11:35:16 +02: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