mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[SCTP]: Switch ->primary_addr to net-endian.
Users adjusted. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7e1e4a2b9d
commit
acd2bc96e1
3 changed files with 4 additions and 8 deletions
|
@ -442,7 +442,7 @@ void sctp_assoc_set_primary(struct sctp_association *asoc,
|
|||
asoc->peer.primary_path = transport;
|
||||
|
||||
/* Set a default msg_name for events. */
|
||||
memcpy(&asoc->peer.primary_addr, &transport->ipaddr_h,
|
||||
memcpy(&asoc->peer.primary_addr, &transport->ipaddr,
|
||||
sizeof(union sctp_addr));
|
||||
|
||||
/* If the primary path is changing, assume that the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue