From 27623e3541a25149857bb98df4af21c7460da4cc Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Mon, 16 Dec 2013 18:05:01 -0800 Subject: [PATCH] datapath: Backport skb_has_frag_list(). Signed-off-by: Jesse Gross --- datapath/linux/compat/include/linux/skbuff.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/datapath/linux/compat/include/linux/skbuff.h b/datapath/linux/compat/include/linux/skbuff.h index be134d724..5bea83e7c 100644 --- a/datapath/linux/compat/include/linux/skbuff.h +++ b/datapath/linux/compat/include/linux/skbuff.h @@ -264,4 +264,9 @@ void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from, int len, int hlen); #endif + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) +#define skb_has_frag_list skb_has_frags +#endif + #endif -- 2.20.1