mirror of
https://github.com/openvswitch/ovs
synced 2025-10-27 15:18:06 +00:00
datapath: compat: keep skb mark across tunnel devices.
Older kernel skb_scrub_packet() has bug which resets skb mark for
all packet. It is fixed during 3.18 release where it is reset
only for packets crossing namespace. So OVS is forced to use
compat skb_scrub_packet() on older kernel.
This is related to upstream bug fix commit ca7c7b9059e3
("skbuff: Do not scrub skb mark within the same name space").
VMware-BZ: #1710701
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
This commit is contained in:
@@ -278,7 +278,7 @@ void rpl_kfree_skb_list(struct sk_buff *segs)
|
||||
EXPORT_SYMBOL(rpl_kfree_skb_list);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SKB_SCRUB_PACKET_XNET
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0)
|
||||
|
||||
#define nf_reset_trace rpl_nf_reset_trace
|
||||
static void nf_reset_trace(struct sk_buff *skb)
|
||||
|
||||
Reference in New Issue
Block a user