diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:11:50 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:26:50 -0500 |
commit | 6c7be55ca0c204473d07a030a03c49a7471b4508 (patch) | |
tree | d1dd7c14a0b723523834ecc09199fbfe9e50139f /net/sctp/endpointola.c | |
parent | cd4ff034e3572679f7ff8f126469b3addd1a4fbc (diff) |
[SCTP]: sctp_has_association() switched to net-endian.
Ditto for its only caller (sctp_endpoint_is_peeled_off)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/endpointola.c')
-rw-r--r-- | net/sctp/endpointola.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c index 5ffb1af336c0..4cca7792c961 100644 --- a/net/sctp/endpointola.c +++ b/net/sctp/endpointola.c | |||
@@ -305,7 +305,7 @@ int sctp_endpoint_is_peeled_off(struct sctp_endpoint *ep, | |||
305 | bp = &ep->base.bind_addr; | 305 | bp = &ep->base.bind_addr; |
306 | list_for_each(pos, &bp->address_list) { | 306 | list_for_each(pos, &bp->address_list) { |
307 | addr = list_entry(pos, struct sctp_sockaddr_entry, list); | 307 | addr = list_entry(pos, struct sctp_sockaddr_entry, list); |
308 | if (sctp_has_association(&addr->a_h, paddr)) { | 308 | if (sctp_has_association(&addr->a, paddr)) { |
309 | sctp_read_unlock(&ep->base.addr_lock); | 309 | sctp_read_unlock(&ep->base.addr_lock); |
310 | return 1; | 310 | return 1; |
311 | } | 311 | } |