diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-21 02:22:08 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 06:26:59 +0100 |
commit | 5ae955cffdb96190c2bd4f57313f5f147f87854b (patch) | |
tree | a5ce00b2f9cfb858d88c7b9a75747bea698aa8f9 /net/sctp/bind_addr.c | |
parent | [SCTP]: Trivial parts of a_h -> a switch. (diff) | |
download | linux-5ae955cffdb96190c2bd4f57313f5f147f87854b.tar.xz linux-5ae955cffdb96190c2bd4f57313f5f147f87854b.zip |
[SCTP]: sctp_make_asconf_update_ip() and sctp_find_unmatch_addr().
... switched to taking and returning pointers to net-endian
sctp_addr resp. Together, since the only user of sctp_find_unmatch_addr()
just passes its value to sctp_make_asconf_update_ip().
sctp_make_asconf_update_ip() is actually endian-agnostic.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/bind_addr.c')
-rw-r--r-- | net/sctp/bind_addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/bind_addr.c b/net/sctp/bind_addr.c index f201df66180d..d6664dd30e56 100644 --- a/net/sctp/bind_addr.c +++ b/net/sctp/bind_addr.c @@ -345,7 +345,7 @@ union sctp_addr *sctp_find_unmatch_addr(struct sctp_bind_addr *bp, addr_buf += af->sockaddr_len; } if (i == addrcnt) - return &laddr->a_h; + return &laddr->a; } return NULL; |