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