sctp: Fix debug message args.
authorDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2011 04:14:41 +0000 (21:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2011 04:24:07 +0000 (21:24 -0700)
I messed things up when I converted over to the transport
flow, I passed the ipv4 address value instead of it's address.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c

index acb2ee70271f0975838158a80ae26db1bf01aeaf..4f270ac48226868668f1d9912d226fc57ac1a987 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,
-                         transport->fl.u.ip4.saddr,
-                         transport->fl.u.ip4.daddr);
+                         &transport->fl.u.ip4.saddr,
+                         &transport->fl.u.ip4.daddr);
 
        inet->pmtudisc = transport->param_flags & SPP_PMTUD_ENABLE ?
                         IP_PMTUDISC_DO : IP_PMTUDISC_DONT;