diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-10-29 13:30:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-29 14:01:11 +0100 |
commit | 7444d706be31753f65052c7f6325fc8470cc1789 (patch) | |
tree | 7057a0dba3af510b9876579c505663b0f9ffcc41 /block/blk-flush.c | |
parent | bb5dbf2cc64d5cfa696765944c784c0010c48ae8 (diff) | |
download | linux-stable-7444d706be31753f65052c7f6325fc8470cc1789.tar.gz linux-stable-7444d706be31753f65052c7f6325fc8470cc1789.tar.bz2 linux-stable-7444d706be31753f65052c7f6325fc8470cc1789.zip |
ifb: fix building without CONFIG_NET_CLS_ACT
The driver no longer depends on this option, but it fails to
build if it's disabled because the skb->tc_skip_classify is
hidden behind an #ifdef:
drivers/net/ifb.c:81:8: error: no member named 'tc_skip_classify' in 'struct sk_buff'
skb->tc_skip_classify = 1;
Use the same #ifdef around the assignment.
Fixes: 046178e726c2 ("ifb: Depend on netfilter alternatively to tc")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions