mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
[SCTP]: sctp_sf_send_restart_abort() is endian-agnostic.
... so caller can use ->ipaddr instead of ->ipaddr_h 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
8cec6b8066
commit
7dd8a5821d
1 changed files with 1 additions and 1 deletions
|
@ -1179,7 +1179,7 @@ static int sctp_sf_check_restart_addrs(const struct sctp_association *new_asoc,
|
||||||
|
|
||||||
/* If a new address was added, ABORT the sender. */
|
/* If a new address was added, ABORT the sender. */
|
||||||
if (!found && new_addr) {
|
if (!found && new_addr) {
|
||||||
sctp_sf_send_restart_abort(&new_addr->ipaddr_h, init, commands);
|
sctp_sf_send_restart_abort(&new_addr->ipaddr, init, commands);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return success if all addresses were found. */
|
/* Return success if all addresses were found. */
|
||||||
|
|
Loading…
Reference in a new issue