datapath: Backport skb_has_frag_list().
authorJesse Gross <jesse@nicira.com>
Tue, 17 Dec 2013 02:05:01 +0000 (18:05 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 17 Dec 2013 02:07:30 +0000 (18:07 -0800)
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/include/linux/skbuff.h

index be134d7..5bea83e 100644 (file)
@@ -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