Commit 7dd8a582 authored by Al Viro's avatar Al Viro Committed by David S. Miller

[SCTP]: sctp_sf_send_restart_abort() is endian-agnostic.

... so caller can use ->ipaddr instead of ->ipaddr_h
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8cec6b80
...@@ -1179,7 +1179,7 @@ static int sctp_sf_check_restart_addrs(const struct sctp_association *new_asoc, ...@@ -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. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment