]> git.ipfire.org Git - thirdparty/ipset.git/commit
compat: Use skb_vlan_tag_present() instead of vlan_tx_tag_present()
authorSerhey Popovych <serhe.popovych@gmail.com>
Fri, 29 Nov 2019 09:21:31 +0000 (11:21 +0200)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Mon, 9 Dec 2019 10:05:22 +0000 (11:05 +0100)
commit4eda9fd68157c444f70541bd10fde3c36e09f0f1
tree06499fba513596f99c0827611c092830f350a2cd
parent66d5125848150fbf8d41f456e2921a38b7690532
compat: Use skb_vlan_tag_present() instead of vlan_tx_tag_present()

Since RHEL6 provides it as preprocessor define and does not provide
vlan_tx_tag_present(). Add defines in case of vlan_tx_tag_present()
isn't available to back tc_skb_protocol() to old behaviour before
commit d8b9605d2697 ("net: sched: fix skb->protocol use in case
of accelerated vlan path").

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
kernel/include/linux/netfilter/ipset/ip_set_compat.h.in