diff options
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 9c90811d1134..1f89c4e69645 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -568,7 +568,7 @@ static void sctp_v4_get_saddr(struct sctp_sock *sk, | |||
568 | /* What interface did this skb arrive on? */ | 568 | /* What interface did this skb arrive on? */ |
569 | static int sctp_v4_skb_iif(const struct sk_buff *skb) | 569 | static int sctp_v4_skb_iif(const struct sk_buff *skb) |
570 | { | 570 | { |
571 | return skb_rtable(skb)->rt_iif; | 571 | return inet_iif(skb); |
572 | } | 572 | } |
573 | 573 | ||
574 | /* Was this packet marked by Explicit Congestion Notification? */ | 574 | /* Was this packet marked by Explicit Congestion Notification? */ |