[SCTP]: sctp_sf_send_restart_abort() is endian-agnostic.
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 01:23:25 +0000 (17:23 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:27:03 +0000 (21:27 -0800)
... 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>
net/sctp/sm_statefuns.c

index 0848309773a5beb49340548f6e1e068e9efb0704..b70e3258b6d335731c95a3d72e02d15de8cc2f43 100644 (file)
@@ -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. */