aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/inet_sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/inet_sock.h')
-rw-r--r--include/net/inet_sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
index 89cd011edb9..8660cb0fa0d 100644
--- 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)
195 195
196static inline int inet_iif(const struct sk_buff *skb) 196static inline int inet_iif(const struct sk_buff *skb)
197{ 197{
198 return ((struct rtable *)skb->dst)->rt_iif; 198 return skb->rtable->rt_iif;
199} 199}
200 200
201#endif /* _INET_SOCK_H */ 201#endif /* _INET_SOCK_H */