From: Al Viro Date: Tue, 21 Nov 2006 01:04:59 +0000 (-0800) Subject: [SCTP]: Pass net-endian to ->seq_dump_addr() X-Git-Tag: v2.6.20-rc2~6^2~13^2~230 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c604e368a477ed1f7dd532605a8f1990d2b128ee;p=platform%2Fkernel%2Flinux-exynos.git [SCTP]: Pass net-endian to ->seq_dump_addr() No actual modifications of method instances are needed - they don't look at port numbers. Switch callers... Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/net/sctp/proc.c b/net/sctp/proc.c index 47ccec5..bf0144e 100644 --- a/net/sctp/proc.c +++ b/net/sctp/proc.c @@ -165,7 +165,7 @@ static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_commo if (primary && af->cmp_addr(addr, primary)) { seq_printf(seq, "*"); } - af->seq_dump_addr(seq, addr); + af->seq_dump_addr(seq, &laddr->a); } } @@ -185,7 +185,7 @@ static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_associa if (af->cmp_addr(addr, primary)) { seq_printf(seq, "*"); } - af->seq_dump_addr(seq, addr); + af->seq_dump_addr(seq, &transport->ipaddr); } }