ipv6: fix inet6_csk_xmit()
authorEric Dumazet <edumazet@google.com>
Tue, 17 Jul 2012 21:38:04 +0000 (21:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2012 15:59:58 +0000 (08:59 -0700)
commitd3818c92afabecfe6b8e5d2e3734c8753522987c
treec23f13c54bd995910d023445ab9207e5d9cfdecb
parent5abf7f7e0f6bdbfcac737f636497d7016d9507eb
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>
include/linux/ipv6.h
include/net/ip6_route.h
net/ipv6/inet6_connection_sock.c