Pablo Neira Ayuso
3a41c64d9c
netfilter: nf_tables: bail out early if hardware offload is not supported
...
If user requests for NFT_CHAIN_HW_OFFLOAD, then check if either device
provides the .ndo_setup_tc interface or there is an indirect flow block
that has been registered. Otherwise, bail out early from the preparation
phase. Moreover, validate that family == NFPROTO_NETDEV and hook is
NF_NETDEV_INGRESS.
Fixes: c9626a2cbdb2 ("netfilter: nf_tables: add hardware offload support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2022-06-06 19:19:15 +02:00
..
2022-04-26 11:35:21 -07:00
2022-04-30 12:58:44 +01:00
2021-11-20 12:25:57 +00:00
2022-04-07 20:32:09 -07:00
2022-04-07 20:32:09 -07:00
2022-05-25 12:22:58 -07:00
2022-05-16 11:33:59 +01:00
2022-05-05 15:47:23 -07:00
2022-05-16 10:47:43 +01:00
2021-11-29 19:50:45 -08:00
2021-12-06 16:05:10 -08:00
2021-12-06 16:06:02 -08:00
2021-12-16 07:18:35 -08:00
2022-05-20 15:29:00 -07:00
2022-04-20 11:09:13 +01:00
2022-06-06 19:19:15 +02:00
2021-10-18 12:54:41 +01:00
2021-10-21 12:47:56 +01:00
2022-03-11 23:17:24 -08:00
2022-05-16 10:18:56 +01:00
2022-04-07 20:32:09 -07:00
2022-04-22 17:45:25 +02:00
2021-12-31 14:31:59 +00:00
2021-11-20 12:25:57 +00:00
2022-05-25 22:00:48 -07:00
2022-02-06 11:04:29 +00:00
2022-04-07 20:32:09 -07:00
2022-05-22 21:51:54 +01:00
2020-02-26 20:07:25 -08:00
2021-05-14 15:26:03 -07:00
2021-09-13 16:35:58 -07:00
2021-03-28 17:56:56 -07:00
2021-12-06 16:06:02 -08:00
2021-09-13 16:35:58 -07:00
2022-01-12 14:14:36 +00:00
2022-05-13 11:28:55 +01:00
2022-01-22 08:33:37 +02:00
2022-03-07 11:31:34 +00:00
2022-05-16 10:18:56 +01:00
2021-07-20 06:00:38 -07:00
2022-05-04 19:22:21 -07:00
2021-10-24 13:59:44 +01:00
2022-05-20 17:05:36 -07:00
2022-04-28 23:40:01 +02:00
2021-10-22 12:35:51 -07:00
2021-12-29 08:48:14 -08:00
2022-04-26 11:35:21 -07:00
2021-06-23 12:56:08 -07:00
2022-05-16 10:31:06 +01:00
2021-10-16 09:06:09 +01:00
2022-05-23 16:07:14 -07:00
2019-12-25 19:51:33 -08:00
2020-06-18 20:46:23 -07:00
2022-02-21 11:40:44 +00:00
2022-03-22 11:18:49 -07:00