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-05-06 12:07:56 +01:00
2022-02-25 09:36:06 +01:00
2022-05-23 12:27:53 +01:00
2022-05-19 13:01:08 -07:00
2022-05-25 12:22:58 -07:00
2022-04-07 21:06:41 -07:00
2022-05-25 12:22:58 -07:00
2022-05-19 13:01:08 -07:00
2022-05-10 11:59:22 +02: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