Skip to content

Commit

Permalink
ifb: Depend on netfilter alternatively to tc
Browse files Browse the repository at this point in the history
IFB originally depended on NET_CLS_ACT for traffic redirection.
But since v4.5, that may be achieved with NFT_FWD_NETDEV as well.

Fixes: 39e6dea ("netfilter: nf_tables: add forward expression to the netdev family")
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: <stable@vger.kernel.org> # v4.5+: bcfabee: netfilter: nft_fwd_netdev: allow to redirect to ifb via ingress
Cc: <stable@vger.kernel.org> # v4.5+
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Lukas Wunner authored and David S. Miller committed Oct 26, 2021
1 parent 99ce45d commit 046178e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ config NET_FC

config IFB
tristate "Intermediate Functional Block support"
depends on NET_CLS_ACT
depends on NET_ACT_MIRRED || NFT_FWD_NETDEV
select NET_REDIRECT
help
This is an intermediate driver that allows sharing of
Expand Down

0 comments on commit 046178e

Please sign in to comment.