aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r--net/sctp/protocol.c2
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? */
569static int sctp_v4_skb_iif(const struct sk_buff *skb) 569static 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? */