summaryrefslogtreecommitdiff
path: root/datapath
diff options
context:
space:
mode:
authorJoe Stringer <joe@ovn.org>2016-02-02 15:18:59 -0800
committerJoe Stringer <joe@ovn.org>2016-02-04 10:30:22 -0800
commit3f82513a8957b5b880e2270dfeaf28636fbdcc76 (patch)
tree3bf32b2527001f4e2b4e5ddfb2018603ccadafd0 /datapath
parent25c7da846dfaeb19189134f699710e0f5fdbf10c (diff)
downloadopenvswitch-3f82513a8957b5b880e2270dfeaf28636fbdcc76.tar.gz
datapath: Fix kernel-4.3 build.
Commit 792e5ed750ce ("datapath: inet: frag: Always orphan skbs inside ip_defrag().") broke the build for OVS backport against kernel-4.3. Fix the build. Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Pravin B Shelar <pshelar@ovn.org>
Diffstat (limited to 'datapath')
-rw-r--r--datapath/linux/compat/include/net/ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath/linux/compat/include/net/ip.h b/datapath/linux/compat/include/net/ip.h
index 2e3366414..29ec5145f 100644
--- a/datapath/linux/compat/include/net/ip.h
+++ b/datapath/linux/compat/include/net/ip.h
@@ -130,7 +130,7 @@ void rpl_ipfrag_fini(void);
static inline int rpl_ip_defrag(struct sk_buff *skb, u32 user)
{
skb_orphan(skb);
- ip_defrag(skb, user);
+ return ip_defrag(skb, user);
}
#define ip_defrag rpl_ip_defrag
#endif