]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ed38a3229a01ba72c8ac65bf85ac7a5ec55fae6
treec23f13c54bd995910d023445ab9207e5d9cfdecb
parent1dbb72ba50782fcce4f619d49b7ac7651a5a2025
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