]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sctp/protocol.c
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / net / sctp / protocol.c
index 9c90811d11345b6fb4a55b5878a9ec168bd3f17c..1f89c4e696457fc02948066052713cac4d2f46fc 100644 (file)
@@ -568,7 +568,7 @@ static void sctp_v4_get_saddr(struct sctp_sock *sk,
 /* What interface did this skb arrive on? */
 static int sctp_v4_skb_iif(const struct sk_buff *skb)
 {
-       return skb_rtable(skb)->rt_iif;
+       return inet_iif(skb);
 }
 
 /* Was this packet marked by Explicit Congestion Notification? */