diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:22:26 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:27:00 -0500 |
commit | 74af924ab6562717ef9aab1061ec05bbbf31d979 (patch) | |
tree | 2b54dcf770bfb94396c76931026189b908dc940f | |
parent | 5ae955cffdb96190c2bd4f57313f5f147f87854b (diff) |
[SCTP]: ->a_h is gone now.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/sctp/structs.h | 1 | ||||
-rw-r--r-- | net/sctp/bind_addr.c | 2 | ||||
-rw-r--r-- | net/sctp/ipv6.c | 1 | ||||
-rw-r--r-- | net/sctp/protocol.c | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 9bb5c038b95a..bb857957a88a 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -757,7 +757,6 @@ const union sctp_addr *sctp_source(const struct sctp_chunk *chunk); | |||
757 | struct sctp_sockaddr_entry { | 757 | struct sctp_sockaddr_entry { |
758 | struct list_head list; | 758 | struct list_head list; |
759 | union sctp_addr a; | 759 | union sctp_addr a; |
760 | union sctp_addr a_h; | ||
761 | __u8 use_as_src; | 760 | __u8 use_as_src; |
762 | }; | 761 | }; |
763 | 762 | ||
diff --git a/net/sctp/bind_addr.c b/net/sctp/bind_addr.c index d6664dd30e56..00994158e496 100644 --- a/net/sctp/bind_addr.c +++ b/net/sctp/bind_addr.c | |||
@@ -163,8 +163,6 @@ int sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new, | |||
163 | if (!addr->a.v4.sin_port) | 163 | if (!addr->a.v4.sin_port) |
164 | addr->a.v4.sin_port = htons(bp->port); | 164 | addr->a.v4.sin_port = htons(bp->port); |
165 | 165 | ||
166 | flip_to_h(&addr->a_h, &addr->a); | ||
167 | |||
168 | addr->use_as_src = use_as_src; | 166 | addr->use_as_src = use_as_src; |
169 | 167 | ||
170 | INIT_LIST_HEAD(&addr->list); | 168 | INIT_LIST_HEAD(&addr->list); |
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index b3fa426bd1dc..04d5e13e9183 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
@@ -336,7 +336,6 @@ static void sctp_v6_copy_addrlist(struct list_head *addrlist, | |||
336 | addr->a.v6.sin6_port = 0; | 336 | addr->a.v6.sin6_port = 0; |
337 | addr->a.v6.sin6_addr = ifp->addr; | 337 | addr->a.v6.sin6_addr = ifp->addr; |
338 | addr->a.v6.sin6_scope_id = dev->ifindex; | 338 | addr->a.v6.sin6_scope_id = dev->ifindex; |
339 | addr->a_h = addr->a; | ||
340 | INIT_LIST_HEAD(&addr->list); | 339 | INIT_LIST_HEAD(&addr->list); |
341 | list_add_tail(&addr->list, addrlist); | 340 | list_add_tail(&addr->list, addrlist); |
342 | } | 341 | } |
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index c20f05b3308f..807c97da33a5 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -153,7 +153,6 @@ static void sctp_v4_copy_addrlist(struct list_head *addrlist, | |||
153 | addr->a.v4.sin_family = AF_INET; | 153 | addr->a.v4.sin_family = AF_INET; |
154 | addr->a.v4.sin_port = 0; | 154 | addr->a.v4.sin_port = 0; |
155 | addr->a.v4.sin_addr.s_addr = ifa->ifa_local; | 155 | addr->a.v4.sin_addr.s_addr = ifa->ifa_local; |
156 | addr->a_h = addr->a; | ||
157 | list_add_tail(&addr->list, addrlist); | 156 | list_add_tail(&addr->list, addrlist); |
158 | } | 157 | } |
159 | } | 158 | } |