[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>
diff --git a/net/sctp/transport.c b/net/sctp/transport.c
index bacd094..e1448ad 100644
--- a/net/sctp/transport.c
+++ b/net/sctp/transport.c
@@ -61,8 +61,8 @@
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;