Skip to content

Commit 046178e

Browse files
l1kdavem330
authored andcommitted
ifb: Depend on netfilter alternatively to tc
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 <[email protected]> Cc: <[email protected]> # v4.5+: bcfabee: netfilter: nft_fwd_netdev: allow to redirect to ifb via ingress Cc: <[email protected]> # v4.5+ Signed-off-by: David S. Miller <[email protected]>
1 parent 99ce45d commit 046178e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ config NET_FC
150150

151151
config IFB
152152
tristate "Intermediate Functional Block support"
153-
depends on NET_CLS_ACT
153+
depends on NET_ACT_MIRRED || NFT_FWD_NETDEV
154154
select NET_REDIRECT
155155
help
156156
This is an intermediate driver that allows sharing of

0 commit comments

Comments
 (0)