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
net: skb->dst accessors
[safe/jmp/linux-2.6]
/
include
/
net
/
inet_hashtables.h
diff --git
a/include/net/inet_hashtables.h
b/include/net/inet_hashtables.h
index
a44e224
..
d522dcf
100644
(file)
--- a/
include/net/inet_hashtables.h
+++ b/
include/net/inet_hashtables.h
@@
-385,7
+385,7
@@
static inline struct sock *__inet_lookup_skb(struct inet_hashinfo *hashinfo,
if (unlikely(sk = skb_steal_sock(skb)))
return sk;
else
- return __inet_lookup(dev_net(skb
->dst
->dev), hashinfo,
+ return __inet_lookup(dev_net(skb
_dst(skb)
->dev), hashinfo,
iph->saddr, sport,
iph->daddr, dport, inet_iif(skb));
}