From: David S. Miller Date: Mon, 9 May 2011 04:14:41 +0000 (-0700) Subject: sctp: Fix debug message args. X-Git-Tag: v3.0-rc1~377^2~130 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=7ef73bca731fea9d4b706db2acb96b6488aa1b0e;p=~shefty%2Frdma-dev.git sctp: Fix debug message args. 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 Signed-off-by: David S. Miller --- diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index acb2ee70271..4f270ac4822 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -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;