diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-21 02:10:03 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 06:26:45 +0100 |
commit | b488c7dd58f61e07b54e5d286c7b45c43dd52f1a (patch) | |
tree | 831da2d58f8f2eadaad340dd936074ad13fe4f97 /net/sctp/transport.c | |
parent | [SCTP]: Switch ->from_skb() to net-endian. (diff) | |
download | linux-b488c7dd58f61e07b54e5d286c7b45c43dd52f1a.tar.xz linux-b488c7dd58f61e07b54e5d286c7b45c43dd52f1a.zip |
[SCTP]: sctp_transport_{init,new}() switched 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/transport.c')
-rw-r--r-- | net/sctp/transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/transport.c b/net/sctp/transport.c index bacd09448b8e..e1448addcd93 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c @@ -61,8 +61,8 @@ static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer, gfp_t gfp) { /* Copy in the address. */ - peer->ipaddr_h = *addr; - flip_to_n(&peer->ipaddr, &peer->ipaddr_h); + peer->ipaddr = *addr; + flip_to_h(&peer->ipaddr_h, &peer->ipaddr); peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); peer->asoc = NULL; |