Files
linux/include/net
Eric Dumazet 4b633bbef8 ipv6: lock socket in ip6_datagram_connect()
[ Upstream commit 03645a11a5 ]

ip6_datagram_connect() is doing a lot of socket changes without
socket being locked.

This looks wrong, at least for udp_lib_rehash() which could corrupt
lists because of concurrent udp_sk(sk)->udp_portaddr_hash accesses.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-01 12:07:37 +02:00
..
2013-02-27 22:51:08 -05:00
2015-10-01 12:07:34 +02:00
2013-04-12 16:54:45 +02:00
2015-10-01 12:07:34 +02:00
2012-08-09 16:18:06 -07:00
2012-04-15 12:44:40 -04:00
2010-06-03 03:21:52 -07:00
2012-04-15 12:44:40 -04:00
2012-07-19 10:43:03 -07:00
2012-10-08 17:42:36 -04:00
2011-03-31 11:26:23 -03:00
2013-03-26 12:27:18 -04:00
2013-01-27 22:46:33 -05:00
2013-02-21 18:15:58 -05:00
2014-08-14 09:24:15 +08:00
2014-05-30 21:52:14 -07:00
2013-03-26 12:27:18 -04:00
2008-06-11 21:00:38 -07:00
2014-08-14 09:24:15 +08:00
2011-03-31 11:26:23 -03:00
2012-05-17 18:45:20 -04:00
2008-02-29 11:46:17 -08:00
2010-06-03 03:21:52 -07:00
2009-01-06 11:38:15 -07:00
2011-05-17 14:16:58 -04:00
2009-03-21 19:06:50 -07:00
2012-05-19 01:08:16 -04:00
2012-11-03 14:59:04 -04:00
2014-08-14 09:24:15 +08:00
2012-08-06 13:40:47 -07:00
2008-07-05 21:25:39 -07:00
2009-10-07 16:39:43 -04:00
2012-04-15 12:44:40 -04:00
2012-05-16 15:17:08 -04:00
2012-04-15 12:44:40 -04:00