From: Jesse Gross Date: Tue, 17 Dec 2013 02:05:01 +0000 (-0800) Subject: datapath: Backport skb_has_frag_list(). X-Git-Tag: sliver-openvswitch-2.1.90-1~10^2~147 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=27623e3541a25149857bb98df4af21c7460da4cc;hp=c622970f83e756f8e914c945d2b1044a2b21c158;p=sliver-openvswitch.git datapath: Backport skb_has_frag_list(). Signed-off-by: Jesse Gross --- 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