Scott Mitchell
a4400a5b34
netfilter: nfnetlink_queue: nfqnl_instance GFP_ATOMIC -> GFP_KERNEL_ACCOUNT allocation
...
Currently, instance_create() uses GFP_ATOMIC because it's called while
holding instances_lock spinlock. This makes allocation more likely to
fail under memory pressure.
Refactor nfqnl_recv_config() to drop RCU lock after instance_lookup()
and peer_portid verification. A socket cannot simultaneously send a
message and close, so the queue owned by the sending socket cannot be
destroyed while processing its CONFIG message. This allows
instance_create() to allocate with GFP_KERNEL_ACCOUNT before taking
the spinlock.
Suggested-by: Florian Westphal <fw@strlen.de >
Signed-off-by: Scott Mitchell <scott.k.mitch1@gmail.com >
Signed-off-by: Florian Westphal <fw@strlen.de >
2026-01-20 16:23:37 +01:00
..
2025-07-10 15:27:32 -07:00
2025-12-07 08:29:09 -08:00
2025-06-08 09:07:37 +02:00
2025-10-31 17:42:35 -07:00
2025-11-04 19:10:32 -08:00
2025-11-27 12:19:08 -08:00
2025-11-04 19:10:32 -08:00
2025-10-31 06:46:03 -07:00
2026-01-09 16:03:57 -05:00
2026-01-12 16:37:40 -08:00
2026-01-20 16:23:37 +01:00
2025-12-11 01:35:41 -08:00
2026-01-15 09:52:39 +01:00
2026-01-06 00:39:43 +01:00
2026-01-20 11:58:49 +01:00
2025-10-01 09:48:21 +02:00
2025-11-25 19:20:42 -08:00
2025-11-04 12:36:51 +01:00
2025-12-23 10:32:08 +01:00
2025-11-24 19:27:31 -08:00
2026-01-20 11:58:49 +01:00
2025-12-22 12:36:40 +01:00
2025-12-04 11:15:13 +01:00
2025-11-04 19:10:33 -08:00
2026-01-17 15:43:16 -08:00
2026-01-19 09:56:43 -08:00
2025-11-28 19:20:27 -08:00
2025-12-03 17:24:33 -08:00
2025-10-30 09:03:12 +01:00
2025-12-01 12:03:09 -08:00
2025-04-15 17:54:56 -07:00
2025-06-08 09:07:37 +02:00
2025-11-04 19:10:32 -08:00
2026-01-12 17:02:02 -08:00
2025-12-01 13:52:13 -08:00
2025-11-03 17:40:54 -08:00
2025-12-23 09:12:25 +01:00
2025-06-12 18:21:59 -07:00
2026-01-20 16:23:37 +01:00
2025-08-30 10:15:30 -04:00
2025-11-04 19:10:32 -08:00
2025-12-04 11:01:17 +01:00
2025-12-28 09:15:42 +01:00
2025-12-22 12:25:11 +01:00
2025-11-04 19:10:33 -08:00
2025-11-04 19:10:33 -08:00
2025-11-25 19:20:42 -08:00
2025-11-04 19:10:32 -08:00
2026-01-13 12:27:03 +01:00
2025-09-22 17:40:30 -07:00
2025-12-30 11:45:51 +01:00
2025-11-04 19:10:32 -08:00
2026-01-20 16:23:37 +01:00
2025-12-18 16:18:00 +01:00
2025-11-25 19:20:42 -08:00
2025-12-04 11:07:18 -08:00
2025-11-13 12:35:38 -08:00
2025-12-24 09:23:04 -08:00
2025-11-13 12:35:38 -08:00
2025-10-31 06:46:03 -07:00
2026-01-08 08:45:13 -08:00
2026-01-05 16:14:50 -08:00
2026-01-12 17:02:02 -08:00
2025-11-04 19:10:32 -08:00
2026-01-20 11:58:50 +01:00
2025-12-15 11:06:25 +01:00
2025-11-26 13:45:23 -07:00
2025-10-17 16:29:26 -07:00
2025-09-18 12:32:06 +02:00
2025-12-05 15:52:30 -08:00