projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IPV4]: Add 'rtable' field in struct sk_buff to alias 'dst' and avoid casts
[deliverable/linux.git]
/
include
/
net
/
inet_sock.h
diff --git
a/include/net/inet_sock.h
b/include/net/inet_sock.h
index 89cd011edb998402912543b4486309055f267b8f..8660cb0fa0dde41f24693a269463926291bf2e7e 100644
(file)
--- a/
include/net/inet_sock.h
+++ b/
include/net/inet_sock.h
@@
-195,7
+195,7
@@
static inline int inet_sk_ehashfn(const struct sock *sk)
static inline int inet_iif(const struct sk_buff *skb)
{
- return
((struct rtable *)skb->dst)
->rt_iif;
+ return
skb->rtable
->rt_iif;
}
#endif /* _INET_SOCK_H */
This page took
0.031155 seconds
and
5
git commands to generate.