mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[SCTP]: sctp_assoc_del_peer() switched to net-endian.
Callers 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
854d43a465
commit
38a03145ef
3 changed files with 4 additions and 7 deletions
|
@ -835,7 +835,7 @@ static void sctp_cmd_del_non_primary(struct sctp_association *asoc)
|
|||
t = list_entry(pos, struct sctp_transport, transports);
|
||||
if (!sctp_cmp_addr_exact(&t->ipaddr,
|
||||
&asoc->peer.primary_addr)) {
|
||||
sctp_assoc_del_peer(asoc, &t->ipaddr_h);
|
||||
sctp_assoc_del_peer(asoc, &t->ipaddr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue