datapath: Add missing #include for skb page accessors.
authorJesse Gross <jesse@nicira.com>
Tue, 31 Jan 2012 21:15:30 +0000 (13:15 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 17 Dec 2013 01:59:40 +0000 (17:59 -0800)
Reported-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/include/linux/skbuff.h

index ced572e..a5f8702 100644 (file)
@@ -188,6 +188,8 @@ static inline bool skb_warn_if_lro(const struct sk_buff *skb)
 #endif
 
 #ifndef HAVE_SKB_FRAG_PAGE
+#include <linux/mm.h>
+
 static inline struct page *skb_frag_page(const skb_frag_t *frag)
 {
        return frag->page;