[SCTP]: ->a_h is gone now.
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 01:24:02 +0000 (17:24 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:27:05 +0000 (21:27 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/transport.c

index bb85795..02f1fd5 100644 (file)
@@ -843,7 +843,6 @@ struct sctp_transport {
 
        /* This is the peer's IP address and port. */
        union sctp_addr ipaddr;
-       union sctp_addr ipaddr_h;
 
        /* These are the functions we call to handle LLP stuff.  */
        struct sctp_af *af_specific;
index 05ab5e9..3e5936a 100644 (file)
@@ -62,7 +62,6 @@ static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer,
 {
        /* Copy in the address.  */
        peer->ipaddr = *addr;
-       flip_to_h(&peer->ipaddr_h, &peer->ipaddr);
        peer->af_specific = sctp_get_af_specific(addr->sa.sa_family);
        peer->asoc = NULL;