Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Fri, 10 Apr 2020 16:31:15 +0200 | Subject | Re: [PATCH] netfilter: nft_fwd_netdev: Fix CONFIG_NET_CLS_ACT=n build |
| |
On Fri, Apr 10, 2020 at 4:26 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > If CONFIG_NET_CLS_ACT=n: > > net/netfilter/nft_fwd_netdev.c: In function ‘nft_fwd_netdev_eval’: > net/netfilter/nft_fwd_netdev.c:32:10: error: ‘struct sk_buff’ has no member named ‘tc_redirected’ > pkt->skb->tc_redirected = 1; > ^~ > net/netfilter/nft_fwd_netdev.c:33:10: error: ‘struct sk_buff’ has no member named ‘tc_from_ingress’ > pkt->skb->tc_from_ingress = 1; > ^~ > > Fix this by protecting this code hunk with the appropriate #ifdef. > > Reported-by: noreply@ellerman.id.au > Fixes: bcfabee1afd99484 ("netfilter: nft_fwd_netdev: allow to redirect to ifb via ingress") > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Please ignore, wrong patch. Sorry for the mess.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |