[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
|
@ -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 (!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. */
|
||||
|
|
Loading…
Reference in New Issue