sctp: Don't use rt->rt_{src,dst} in sctp_v4_xmit()
authorDavid S. Miller <davem@davemloft.net>
Sat, 7 May 2011 05:34:29 +0000 (22:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 May 2011 22:28:29 +0000 (15:28 -0700)
Now we can pick it out of the transport's flow key.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c

index 847193b7995f01ca628a800da8a9018f33bedac3..acb2ee70271f0975838158a80ae26db1bf01aeaf 100644 (file)
@@ -848,8 +848,8 @@ static inline int sctp_v4_xmit(struct sk_buff *skb,
 
        SCTP_DEBUG_PRINTK("%s: skb:%p, len:%d, src:%pI4, dst:%pI4\n",
                          __func__, skb, skb->len,
-                         &skb_rtable(skb)->rt_src,
-                         &skb_rtable(skb)->rt_dst);
+                         transport->fl.u.ip4.saddr,
+                         transport->fl.u.ip4.daddr);
 
        inet->pmtudisc = transport->param_flags & SPP_PMTUD_ENABLE ?
                         IP_PMTUDISC_DO : IP_PMTUDISC_DONT;