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]
/
include
/
net
/
ip.h
diff --git
a/include/net/ip.h
b/include/net/ip.h
index
6f7ba32
..
75f226d
100644
(file)
--- a/
include/net/ip.h
+++ b/
include/net/ip.h
@@
-46,7
+46,7
@@
struct inet_skb_parm
static inline unsigned int ip_hdrlen(const struct sk_buff *skb)
{
- return
skb->nh.iph
->ihl * 4;
+ return
ip_hdr(skb)
->ihl * 4;
}
struct ipcm_cookie