aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_make_chunk.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 20:06:45 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:26:36 -0500
commit38a03145efcdbbcc60465fdffc0546208a52daf8 (patch)
tree4ed5fd2eea299a688c14e80eb1b9cdb3745c33f0 /net/sctp/sm_make_chunk.c
parent854d43a465cc8ba8e501320b3bc27359d909da2f (diff)
[SCTP]: sctp_assoc_del_peer() switched to net-endian.
Callers adjusted. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
-rw-r--r--net/sctp/sm_make_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index ee907ea7eed1..303830b40ab3 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -2463,7 +2463,7 @@ static __be16 sctp_process_asconf_param(struct sctp_association *asoc,
2463 if (sctp_cmp_addr_exact(&tmp, &tmp_addr)) 2463 if (sctp_cmp_addr_exact(&tmp, &tmp_addr))
2464 return SCTP_ERROR_DEL_SRC_IP; 2464 return SCTP_ERROR_DEL_SRC_IP;
2465 2465
2466 sctp_assoc_del_peer(asoc, &addr); 2466 sctp_assoc_del_peer(asoc, &tmp_addr);
2467 break; 2467 break;
2468 case SCTP_PARAM_SET_PRIMARY: 2468 case SCTP_PARAM_SET_PRIMARY:
2469 peer = sctp_assoc_lookup_paddr(asoc, &addr); 2469 peer = sctp_assoc_lookup_paddr(asoc, &addr);