]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[IPV6]: ipv6_fl_socklist is inadvertently shared.
authorMasayuki Nakagawa <nakagawa.msy@ncos.nec.co.jp>
Tue, 20 Mar 2007 22:23:13 +0000 (23:23 +0100)
committerAdrian Bunk <bunk@stusta.de>
Tue, 20 Mar 2007 22:23:13 +0000 (23:23 +0100)
commit202e363b00807107da624289eb2257ea32b29420
tree71c35287fbe4b39d0d578d56178fceb13789d4e0
parent7f1b44d7f0758a6e46280969880435c91b60b5cc
[IPV6]: ipv6_fl_socklist is inadvertently shared.

The ipv6_fl_socklist from listening socket is inadvertently shared
with new socket created for connection.  This leads to a variety of
interesting, but fatal, bugs. For example, removing one of the
sockets may lead to the other socket's encountering a page fault
when the now freed list is referenced.

The fix is to not share the flow label list with the new socket.

Signed-off-by: Masayuki Nakagawa <nakagawa.msy@ncos.nec.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/ipv6/tcp_ipv6.c