All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] ifb: Depend on netfilter alternatively to tc
@ 2021-10-26  5:15 Lukas Wunner
  2021-10-26 14:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Wunner @ 2021-10-26  5:15 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski
  Cc: Pablo Neira Ayuso, Jozsef Kadlecsik, Florian Westphal,
	netfilter-devel, coreteam, netdev, Jamal Hadi Salim, Cong Wang,
	Jiri Pirko, Daniel Borkmann, Willem de Bruijn

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: 39e6dea28adc ("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+: bcfabee1afd9: netfilter: nft_fwd_netdev: allow to redirect to ifb via ingress
Cc: <stable@vger.kernel.org> # v4.5+
---
 drivers/net/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index f37b1c56f7c4..dd335ae1122b 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -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
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] ifb: Depend on netfilter alternatively to tc
  2021-10-26  5:15 [PATCH net-next] ifb: Depend on netfilter alternatively to tc Lukas Wunner
@ 2021-10-26 14:10 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-10-26 14:10 UTC (permalink / raw)
  To: Lukas Wunner
  Cc: davem, kuba, pablo, kadlec, fw, netfilter-devel, coreteam,
	netdev, jhs, xiyou.wangcong, jiri, daniel, willemb

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue, 26 Oct 2021 07:15:32 +0200 you wrote:
> 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: 39e6dea28adc ("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+: bcfabee1afd9: netfilter: nft_fwd_netdev: allow to redirect to ifb via ingress
> Cc: <stable@vger.kernel.org> # v4.5+
> 
> [...]

Here is the summary with links:
  - [net-next] ifb: Depend on netfilter alternatively to tc
    https://git.kernel.org/netdev/net-next/c/046178e726c2

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-26 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26  5:15 [PATCH net-next] ifb: Depend on netfilter alternatively to tc Lukas Wunner
2021-10-26 14:10 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.