aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/protocol.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 20:10:38 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:26:47 -0500
commit5ab7b859ab58e3479a5a66e383ecd6bc447f6c1d (patch)
treef876ff7c51eb7d5a2d3fdb8dcb97b6b19d79dde7 /net/sctp/protocol.c
parent4bdf4b5fe22c26750c39fdd2939a5f33df0cc341 (diff)
[SCTP]: Switch sctp_add_bind_addr() to net-endian.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r--net/sctp/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index d08bafd4439e..a6bcbf560e36 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -234,7 +234,7 @@ int sctp_copy_local_addr_list(struct sctp_bind_addr *bp, sctp_scope_t scope,
234 (((AF_INET6 == addr->a_h.sa.sa_family) && 234 (((AF_INET6 == addr->a_h.sa.sa_family) &&
235 (copy_flags & SCTP_ADDR6_ALLOWED) && 235 (copy_flags & SCTP_ADDR6_ALLOWED) &&
236 (copy_flags & SCTP_ADDR6_PEERSUPP)))) { 236 (copy_flags & SCTP_ADDR6_PEERSUPP)))) {
237 error = sctp_add_bind_addr(bp, &addr->a_h, 1, 237 error = sctp_add_bind_addr(bp, &addr->a, 1,
238 GFP_ATOMIC); 238 GFP_ATOMIC);
239 if (error) 239 if (error)
240 goto end_copy; 240 goto end_copy;