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-30 12:58:44 +01:00
2022-05-25 12:22:58 -07:00
2022-05-16 11:33:59 +01:00
2021-12-16 07:18:35 -08:00
2022-05-20 15:29:00 -07:00
2022-05-16 10:18:56 +01:00
2022-01-22 08:33:37 +02:00
2020-06-18 20:46:23 -07:00