aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/transport.c')
-rw-r--r--net/sctp/transport.c4
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,
61 gfp_t gfp) 61 gfp_t gfp)
62{ 62{
63 /* Copy in the address. */ 63 /* Copy in the address. */
64 peer->ipaddr_h = *addr; 64 peer->ipaddr = *addr;
65 flip_to_n(&peer->ipaddr, &peer->ipaddr_h); 65 flip_to_h(&peer->ipaddr_h, &peer->ipaddr);
66 peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); 66 peer->af_specific = sctp_get_af_specific(addr->sa.sa_family);
67 peer->asoc = NULL; 67 peer->asoc = NULL;
68 68