compat-3.1.h: Avoid ip_is_fragment redefinition
authorVladimir Sokolovsky <vlad@mellanox.com>
Thu, 21 May 2015 12:51:36 +0000 (15:51 +0300)
committerVladimir Sokolovsky <vlad@mellanox.com>
Thu, 21 May 2015 12:51:36 +0000 (15:51 +0300)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
include/linux/compat-3.1.h

index 7b05951..b5282ad 100644 (file)
@@ -29,6 +29,7 @@ static inline struct neighbour *dst_get_neighbour_raw(struct dst_entry *dst)
 #endif /* HAVE_DST_GET_NEIGHBOUR */
 
 /* Backports 56f8a75c */
+#define ip_is_fragment LINUX_BACKPORT(ip_is_fragment)
 static inline bool ip_is_fragment(const struct iphdr *iph)
 {
        return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0;