]> err.no Git - linux-2.6/commitdiff
[SCTP]: ->a_h is gone now.
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 01:22:26 +0000 (17:22 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:27:00 +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/bind_addr.c
net/sctp/ipv6.c
net/sctp/protocol.c

index 9bb5c038b95af53954e90100a6b1d5989f86373f..bb857957a88ab3d4056a14c5a957d0c460220a64 100644 (file)
@@ -757,7 +757,6 @@ const union sctp_addr *sctp_source(const struct sctp_chunk *chunk);
 struct sctp_sockaddr_entry {
        struct list_head list;
        union sctp_addr a;
-       union sctp_addr a_h;
        __u8 use_as_src;
 };
 
index d6664dd30e564b2e946e0107255ebd597f62ac60..00994158e4962997ba90a6ac9cdf7a00863bf9ea 100644 (file)
@@ -163,8 +163,6 @@ int sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new,
        if (!addr->a.v4.sin_port)
                addr->a.v4.sin_port = htons(bp->port);
 
-       flip_to_h(&addr->a_h, &addr->a);
-
        addr->use_as_src = use_as_src;
 
        INIT_LIST_HEAD(&addr->list);
index b3fa426bd1dc4a292ac6bc0eff1a45fc639f4bcf..04d5e13e9183eece7a696a569956eb09063820d8 100644 (file)
@@ -336,7 +336,6 @@ static void sctp_v6_copy_addrlist(struct list_head *addrlist,
                        addr->a.v6.sin6_port = 0;
                        addr->a.v6.sin6_addr = ifp->addr;
                        addr->a.v6.sin6_scope_id = dev->ifindex;
-                       addr->a_h = addr->a;
                        INIT_LIST_HEAD(&addr->list);
                        list_add_tail(&addr->list, addrlist);
                }
index c20f05b3308fca4260ce2c7466ce94059b4eaa16..807c97da33a54a75f2b5f505ff0e9e2b020fdd86 100644 (file)
@@ -153,7 +153,6 @@ static void sctp_v4_copy_addrlist(struct list_head *addrlist,
                        addr->a.v4.sin_family = AF_INET;
                        addr->a.v4.sin_port = 0;
                        addr->a.v4.sin_addr.s_addr = ifa->ifa_local;
-                       addr->a_h = addr->a;
                        list_add_tail(&addr->list, addrlist);
                }
        }