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