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
/
ipt_TTL.c
diff --git
a/net/ipv4/netfilter/ipt_TTL.c
b/net/ipv4/netfilter/ipt_TTL.c
index
64be31c
..
a991ec7
100644
(file)
--- a/
net/ipv4/netfilter/ipt_TTL.c
+++ b/
net/ipv4/netfilter/ipt_TTL.c
@@
-32,7
+32,7
@@
ipt_ttl_target(struct sk_buff **pskb,
if (!skb_make_writable(pskb, (*pskb)->len))
return NF_DROP;
- iph =
(*pskb)->nh.iph
;
+ iph =
ip_hdr(*pskb)
;
switch (info->mode) {
case IPT_TTL_SET: