[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>
This commit is contained in:
Al Viro
2006-11-20 17:10:03 -08:00
committed by David S. Miller
parent d55c41b115
commit b488c7dd58
3 changed files with 6 additions and 4 deletions

View File

@@ -564,7 +564,7 @@ struct sctp_transport *sctp_assoc_add_peer(struct sctp_association *asoc,
return peer;
}
peer = sctp_transport_new(addr, gfp);
peer = sctp_transport_new(&tmp, gfp);
if (!peer)
return NULL;