summaryrefslogtreecommitdiff
path: root/include/linux/ipv6.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-07-17 21:38:04 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-18 08:59:58 -0700
commitd3818c92afabecfe6b8e5d2e3734c8753522987c (patch)
treec23f13c54bd995910d023445ab9207e5d9cfdecb /include/linux/ipv6.h
parent5abf7f7e0f6bdbfcac737f636497d7016d9507eb (diff)
downloadlwn-d3818c92afabecfe6b8e5d2e3734c8753522987c.tar.gz
lwn-d3818c92afabecfe6b8e5d2e3734c8753522987c.zip
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.h4
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 {
struct in6_addr rcv_saddr;
struct in6_addr daddr;
struct in6_pktinfo sticky_pktinfo;
- struct in6_addr *daddr_cache;
+ const struct in6_addr *daddr_cache;
#ifdef CONFIG_IPV6_SUBTREES
- struct in6_addr *saddr_cache;
+ const struct in6_addr *saddr_cache;
#endif
__be32 flow_label;