From: Al Viro Date: Tue, 21 Nov 2006 01:23:25 +0000 (-0800) Subject: [SCTP]: sctp_sf_send_restart_abort() is endian-agnostic. X-Git-Tag: v2.6.20-rc2~6^2~13^2~197 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7dd8a5821dd4991916c4eedf84e10fc2d0b47555;p=linux-2.6-omap-h63xx.git [SCTP]: sctp_sf_send_restart_abort() is endian-agnostic. ... so caller can use ->ipaddr instead of ->ipaddr_h Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index 0848309773a..b70e3258b6d 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, /* 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. */