Skip to content

Commit

Permalink
sctp: Fix debug message args.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed May 9, 2011
1 parent f5fca60 commit 7ef73bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/sctp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7ef73bc

Please sign in to comment.