Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255329
b: refs/heads/master
c: 3ced2dd
h: refs/heads/master
i:
  255327: 2b75d66
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Jun 2, 2011
1 parent 4747c73 commit 24fd15a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1364104e37c9d8cf437746ba5f5dfedcc0bc132
refs/heads/master: 3ced2dddf10f26f0aaff96f3345a3d876cea62f8
9 changes: 5 additions & 4 deletions trunk/include/net/sctp/sctp.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,20 +285,21 @@ do { \
pr_cont(fmt, ##args); \
} while (0)
#define SCTP_DEBUG_PRINTK_IPADDR(fmt_lead, fmt_trail, \
args_lead, saddr, args_trail...) \
args_lead, addr, args_trail...) \
do { \
const union sctp_addr *_addr = (addr); \
if (sctp_debug_flag) { \
if (saddr->sa.sa_family == AF_INET6) { \
if (_addr->sa.sa_family == AF_INET6) { \
printk(KERN_DEBUG \
pr_fmt(fmt_lead "%pI6" fmt_trail), \
args_lead, \
&saddr->v6.sin6_addr, \
&_addr->v6.sin6_addr, \
args_trail); \
} else { \
printk(KERN_DEBUG \
pr_fmt(fmt_lead "%pI4" fmt_trail), \
args_lead, \
&saddr->v4.sin_addr.s_addr, \
&_addr->v4.sin_addr.s_addr, \
args_trail); \
} \
} \
Expand Down

0 comments on commit 24fd15a

Please sign in to comment.