Pablo Neira Ayuso
c8ebc3b863
netfilter: nf_tables: make table handle allocation per-netns friendly
...
[ Upstream commit ab482c6b66a4a8c0a8c0b0f577a785cf9ff1c2e2 ]
mutex is per-netns, move table_netns to the pernet area.
*read-write* to 0xffffffff883a01e8 of 8 bytes by task 6542 on cpu 0:
nf_tables_newtable+0x6dc/0xc00 net/netfilter/nf_tables_api.c:1221
nfnetlink_rcv_batch net/netfilter/nfnetlink.c:513 [inline]
nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:634 [inline]
nfnetlink_rcv+0xa6a/0x13a0 net/netfilter/nfnetlink.c:652
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x652/0x730 net/netlink/af_netlink.c:1345
netlink_sendmsg+0x643/0x740 net/netlink/af_netlink.c:1921
Fixes: f102d66b335a ("netfilter: nf_tables: use dedicated mutex to guard transactions")
Reported-by: Abhishek Shah <abhishek.shah@columbia.edu>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-31 17:18:06 +02:00
..
2022-02-04 14:15:11 -08:00
2022-08-17 15:16:09 +02:00
2022-07-09 12:26:59 +01:00
2022-04-06 13:45:26 +01:00
2022-04-28 13:08:15 -07:00
2022-08-17 15:14:57 +02:00
2022-08-17 15:16:15 +02:00
2022-08-17 15:16:21 +02:00
2022-05-23 16:07:14 -07:00
2022-02-25 09:36:06 +01:00
2022-08-31 17:18:05 +02:00
2022-07-22 12:51:45 +01:00
2022-08-25 11:45:37 +02:00
2022-05-25 20:45:13 +02:00
2022-08-25 11:45:33 +02:00
2022-03-03 08:01:55 -08:00
2022-08-17 15:14:59 +02:00
2022-07-25 12:42:09 +01:00
2022-08-25 11:45:34 +02:00
2022-04-07 21:04:03 -07:00
2022-06-17 20:22:16 -07:00
2022-03-11 23:17:24 -08:00
2022-04-28 13:08:15 -07:00
2022-08-17 15:16:19 +02:00
2022-08-25 11:45:33 +02:00
2022-04-06 13:45:26 +01:00
2022-08-31 17:18:01 +02:00
2022-06-08 10:56:43 -07:00
2022-04-15 14:27:24 -07:00
2022-03-25 16:55:41 -07:00
2022-08-17 15:14:46 +02:00
2022-04-30 20:29:47 +02:00
2022-05-25 12:22:58 -07:00
2022-04-07 21:06:41 -07:00
2022-08-25 11:45:13 +02:00
2022-06-23 20:51:06 -07:00
2022-08-31 17:18:06 +02:00
2022-03-21 10:59:11 +00:00
2022-08-25 11:45:34 +02:00
2022-04-06 13:45:26 +01:00
2022-05-28 15:28:47 +01:00
2022-06-23 11:44:01 +02:00
2022-06-02 10:15:05 -07:00
2022-04-12 15:00:25 +02:00
2022-08-25 11:45:32 +02:00
2022-08-25 11:45:05 +02:00
2022-03-18 13:09:17 +02:00
2022-08-31 17:18:02 +02:00
2022-05-23 21:19:17 -07:00
2022-08-21 15:20:08 +02:00
2022-07-27 18:23:22 -07:00
2022-07-18 12:21:54 +01:00
2022-08-31 17:18:01 +02:00
2022-02-24 21:31:43 -08:00
2022-07-25 12:42:09 +01:00
2022-07-24 21:40:56 +01:00
2022-06-07 12:07:46 +02:00
2022-08-25 11:45:22 +02:00
2022-08-17 15:16:20 +02:00
2022-05-10 11:59:22 +02:00
2022-06-28 22:49:04 +02:00
2022-08-31 17:18:01 +02:00
2022-03-03 09:55:28 +00:00
2022-06-02 10:15:05 -07:00
2022-06-23 20:56:23 -07:00