Phil Sutter
42e344f016
netfilter: nf_tables: Fix for deleting base chains with payload
...
When deleting a base chain, iptables-nft simply submits the whole chain
to the kernel, including the NFTA_CHAIN_HOOK attribute. The new code
added by fixed commit then turned this into a chain update, destroying
the hook but not the chain itself. Detect the situation by checking if
the chain type is either netdev or inet/ingress.
Fixes: 7d937b1071 ("netfilter: nf_tables: support for deleting devices in an existing netdev chain")
Signed-off-by: Phil Sutter <phil@nwl.cc >
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
2023-06-20 22:43:42 +02:00
..
2023-06-07 00:43:43 +02:00
2023-06-19 16:01:07 +02:00
2023-05-10 08:50:39 +02:00
2023-04-21 11:34:14 -07:00
2023-04-21 11:34:14 -07:00
2023-04-21 11:34:50 -07:00
2023-04-26 10:17:46 +02:00
2023-06-07 00:43:43 +02:00
2023-02-22 00:28:47 +01:00
2022-09-20 23:50:03 +02:00
2023-02-10 16:23:03 -08:00
2022-09-07 15:55:23 +02:00
2023-05-17 14:15:57 +02:00
2023-03-08 14:25:41 +01:00
2022-11-30 23:01:20 +01:00
2023-02-02 14:49:55 -08:00
2023-02-17 13:04:56 +01:00
2023-02-01 12:18:51 +01:00
2023-01-18 13:05:24 +01:00
2022-09-07 15:06:26 +02:00
2023-05-10 08:50:39 +02:00
2023-06-14 09:56:50 +02:00
2023-02-03 09:31:24 +00:00
2023-06-14 09:56:50 +02:00
2023-02-03 09:31:24 +00:00
2023-02-01 20:54:27 -08:00
2022-09-07 16:46:03 +02:00
2022-09-07 16:46:04 +02:00
2023-02-02 00:25:14 +01:00
2023-03-08 14:25:44 +01:00
2022-09-07 16:46:04 +02:00
2022-11-18 02:15:15 +01:00
2022-09-07 16:46:04 +02:00
2022-12-12 10:14:03 +00:00
2023-03-22 21:48:59 +01:00
2022-09-07 16:46:04 +02:00
2023-06-20 22:43:42 +02:00
2023-04-22 01:39:41 +02:00
2023-04-22 01:39:41 +02:00
2023-04-21 11:34:14 -07:00
2023-03-30 22:20:09 +02:00
2023-06-20 22:43:42 +02:00
2023-03-30 22:20:09 +02:00
2023-06-08 04:00:02 +02:00
2023-06-07 00:43:43 +02:00
2022-11-15 10:46:34 +01:00
2023-05-10 08:50:18 +02:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:53:17 +01:00
2023-05-03 13:49:08 +02:00
2023-01-18 13:05:25 +01:00
2022-11-15 10:46:34 +01:00
2023-05-03 08:24:32 +02:00
2022-11-17 21:43:34 -08:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2023-06-20 22:43:40 +02:00
2022-11-15 10:53:17 +01:00
2023-03-01 17:23:23 +01:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2023-05-03 08:24:32 +02:00
2023-03-22 21:48:59 +01:00
2022-11-15 10:46:34 +01:00
2023-03-08 12:25:59 +01:00
2022-11-15 10:46:34 +01:00
2023-05-03 08:24:32 +02:00
2022-11-15 10:46:34 +01:00
2023-01-11 19:18:04 +01:00
2022-11-15 10:46:34 +01:00
2023-03-01 17:23:23 +01:00
2022-11-15 10:46:34 +01:00
2023-03-22 21:48:59 +01:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2023-06-20 22:43:40 +02:00
2023-06-20 22:43:40 +02:00
2023-06-20 22:43:40 +02:00
2023-06-20 22:43:40 +02:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2022-11-15 10:46:34 +01:00
2023-03-08 14:25:40 +01:00
2022-09-07 16:46:03 +02:00
2022-11-18 15:21:00 +01:00
2023-03-17 15:16:33 +01:00
2022-12-25 13:38:09 -08:00
2023-02-22 21:25:23 -08:00
2023-06-20 22:43:42 +02:00
2022-09-07 16:46:03 +02:00
2023-03-22 21:48:59 +01:00
2022-11-17 21:43:34 -08:00
2022-10-11 17:42:58 -06:00
2023-03-22 21:48:59 +01:00