diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:23:25 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:27:03 -0500 |
commit | 7dd8a5821dd4991916c4eedf84e10fc2d0b47555 (patch) | |
tree | f8384239a60f731becbb4b06295a19a2d8a09737 /net/sctp/sm_statefuns.c | |
parent | 8cec6b80664eb20b0c033fd20d2c7ed15621437f (diff) |
[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>
Diffstat (limited to 'net/sctp/sm_statefuns.c')
-rw-r--r-- | net/sctp/sm_statefuns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index 0848309773a5..b70e3258b6d3 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c | |||
@@ -1179,7 +1179,7 @@ static int sctp_sf_check_restart_addrs(const struct sctp_association *new_asoc, | |||
1179 | 1179 | ||
1180 | /* If a new address was added, ABORT the sender. */ | 1180 | /* If a new address was added, ABORT the sender. */ |
1181 | if (!found && new_addr) { | 1181 | if (!found && new_addr) { |
1182 | sctp_sf_send_restart_abort(&new_addr->ipaddr_h, init, commands); | 1182 | sctp_sf_send_restart_abort(&new_addr->ipaddr, init, commands); |
1183 | } | 1183 | } |
1184 | 1184 | ||
1185 | /* Return success if all addresses were found. */ | 1185 | /* Return success if all addresses were found. */ |