Skip to content

Commit

Permalink
[SCTP]: sctp_sf_send_restart_abort() is endian-agnostic.
Browse files Browse the repository at this point in the history
... 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>
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent 8cec6b8 commit 7dd8a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sctp/sm_statefuns.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 7dd8a58

Please sign in to comment.