summaryrefslogtreecommitdiffstats
path: root/net/sctp/ipv6.c
diff options
context:
space:
mode:
authorAl Viro2006-11-21 02:13:58 +0100
committerDavid S. Miller2006-12-03 06:26:56 +0100
commita926626893aca20567f27af1c5edc830e1c51b2b (patch)
tree76fbf8eee4d84b9e6a50e5b564e4ebadeb9ce632 /net/sctp/ipv6.c
parent[SCTP]: Switch sctp_chunk ->dest to net-endian. (diff)
downloadkernel-qcow2-linux-a926626893aca20567f27af1c5edc830e1c51b2b.tar.gz
kernel-qcow2-linux-a926626893aca20567f27af1c5edc830e1c51b2b.tar.xz
kernel-qcow2-linux-a926626893aca20567f27af1c5edc830e1c51b2b.zip
[SCTP]: Switch all remaining users of ->saddr_h to ->saddr.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ipv6.c')
-rw-r--r--net/sctp/ipv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c
index 7f4c5bafea14..3dc8ed143521 100644
--- a/net/sctp/ipv6.c
+++ b/net/sctp/ipv6.c
@@ -162,12 +162,12 @@ static int sctp_v6_xmit(struct sk_buff *skb, struct sctp_transport *transport,
* and the source address from the transport.
*/
ipv6_addr_copy(&fl.fl6_dst, &transport->ipaddr_h.v6.sin6_addr);
- ipv6_addr_copy(&fl.fl6_src, &transport->saddr_h.v6.sin6_addr);
+ ipv6_addr_copy(&fl.fl6_src, &transport->saddr.v6.sin6_addr);
fl.fl6_flowlabel = np->flow_label;
IP6_ECN_flow_xmit(sk, fl.fl6_flowlabel);
if (ipv6_addr_type(&fl.fl6_src) & IPV6_ADDR_LINKLOCAL)
- fl.oif = transport->saddr_h.v6.sin6_scope_id;
+ fl.oif = transport->saddr.v6.sin6_scope_id;
else
fl.oif = sk->sk_bound_dev_if;
fl.fl_ip_sport = inet_sk(sk)->sport;