From c633c3aacb2206f337c95a5ed72b83a8750fc966 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Thu, 21 May 2015 15:51:36 +0300 Subject: [PATCH] compat-3.1.h: Avoid ip_is_fragment redefinition Signed-off-by: Vladimir Sokolovsky --- include/linux/compat-3.1.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/compat-3.1.h b/include/linux/compat-3.1.h index 7b05951..b5282ad 100644 --- a/include/linux/compat-3.1.h +++ b/include/linux/compat-3.1.h @@ -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; -- 2.41.0