git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iph
[safe/jmp/linux-2.6]
/
net
/
ipv4
/
netfilter
/
ip_conntrack_standalone.c
diff --git
a/net/ipv4/netfilter/ip_conntrack_standalone.c
b/net/ipv4/netfilter/ip_conntrack_standalone.c
index
92609a4
..
c322001
100644
(file)
--- a/
net/ipv4/netfilter/ip_conntrack_standalone.c
+++ b/
net/ipv4/netfilter/ip_conntrack_standalone.c
@@
-439,7
+439,7
@@
static unsigned int ip_conntrack_defrag(unsigned int hooknum,
#endif
/* Gather fragments. */
- if (
(*pskb)->nh.iph->frag_off & htons(IP_MF|
IP_OFFSET)) {
+ if (
ip_hdr(*pskb)->frag_off & htons(IP_MF |
IP_OFFSET)) {
*pskb = ip_ct_gather_frags(*pskb,
hooknum == NF_IP_PRE_ROUTING ?
IP_DEFRAG_CONNTRACK_IN :