lkml.org 
[lkml]   [2021]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.10 102/575] ifb: Depend on netfilter alternatively to tc
    Date
    From: Lukas Wunner <lukas@wunner.de>

    commit 046178e726c2977d686ba5e07105d5a6685c830e upstream.

    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+
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/net/Kconfig | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/net/Kconfig
    +++ b/drivers/net/Kconfig
    @@ -148,7 +148,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

    \
     
     \ /
      Last update: 2021-11-15 20:12    [W:4.033 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site