diff options
author | Eric Dumazet <edumazet@google.com> | 2012-07-17 17:38:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-18 11:59:58 -0400 |
commit | d3818c92afabecfe6b8e5d2e3734c8753522987c (patch) | |
tree | c23f13c54bd995910d023445ab9207e5d9cfdecb /include/linux/ipv6.h | |
parent | 5abf7f7e0f6bdbfcac737f636497d7016d9507eb (diff) |
ipv6: fix inet6_csk_xmit()
We should provide to inet6_csk_route_socket a struct flowi6 pointer,
so that net6_csk_xmit() works correctly instead of sending garbage.
Also add some consts
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r-- | include/linux/ipv6.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index bc6c8fd8ed01..379e433e15e0 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h | |||
@@ -299,9 +299,9 @@ struct ipv6_pinfo { | |||
299 | struct in6_addr rcv_saddr; | 299 | struct in6_addr rcv_saddr; |
300 | struct in6_addr daddr; | 300 | struct in6_addr daddr; |
301 | struct in6_pktinfo sticky_pktinfo; | 301 | struct in6_pktinfo sticky_pktinfo; |
302 | struct in6_addr *daddr_cache; | 302 | const struct in6_addr *daddr_cache; |
303 | #ifdef CONFIG_IPV6_SUBTREES | 303 | #ifdef CONFIG_IPV6_SUBTREES |
304 | struct in6_addr *saddr_cache; | 304 | const struct in6_addr *saddr_cache; |
305 | #endif | 305 | #endif |
306 | 306 | ||
307 | __be32 flow_label; | 307 | __be32 flow_label; |