X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=datapath%2Flinux%2Fcompat%2Finclude%2Flinux%2Fskbuff.h;h=7fbe9d81a3136e05c89ef2340ac33956ca116ebd;hb=476a0e9e7c0aae41f5b3bd093b5b5d666142f630;hp=01e524ef717d37c9ea9982e39d1161948e296cf7;hpb=b9c15df93753b640008f879315e26833c2e95468;p=openvswitch diff --git a/datapath/linux/compat/include/linux/skbuff.h b/datapath/linux/compat/include/linux/skbuff.h index 01e524ef..7fbe9d81 100644 --- a/datapath/linux/compat/include/linux/skbuff.h +++ b/datapath/linux/compat/include/linux/skbuff.h @@ -238,7 +238,7 @@ static inline bool skb_warn_if_lro(const struct sk_buff *skb) #define consume_skb kfree_skb #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0) +#ifndef HAVE_SKB_FRAG_PAGE static inline struct page *skb_frag_page(const skb_frag_t *frag) { return frag->page;