projects
/
compat-rdma
/
compat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f20e22
)
compat-3.1.h: Avoid ip_is_fragment redefinition
author
Vladimir Sokolovsky
<vlad@mellanox.com>
Thu, 21 May 2015 12:51:36 +0000
(15:51 +0300)
committer
Vladimir 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
patch
|
blob
|
history
diff --git
a/include/linux/compat-3.1.h
b/include/linux/compat-3.1.h
index
7b05951
..
b5282ad
100644
(file)
--- 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;