projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: xt_HMARK: Use ip_is_fragment() helper
[linux-2.6-microblaze.git]
/
net
/
netfilter
/
xt_HMARK.c
diff --git
a/net/netfilter/xt_HMARK.c
b/net/netfilter/xt_HMARK.c
index
713fb38
..
8928ec5
100644
(file)
--- a/
net/netfilter/xt_HMARK.c
+++ b/
net/netfilter/xt_HMARK.c
@@
-276,7
+276,7
@@
hmark_pkt_set_htuple_ipv4(const struct sk_buff *skb, struct hmark_tuple *t,
return 0;
/* follow-up fragments don't contain ports, skip all fragments */
- if (ip
->frag_off & htons(IP_MF | IP_OFFSET
))
+ if (ip
_is_fragment(ip
))
return 0;
hmark_set_tuple_ports(skb, (ip->ihl * 4) + nhoff, t, info);