Eric Dumazet
9327f7053e
tcp: Fix a connect() race with timewait sockets
...
First patch changes __inet_hash_nolisten() and __inet6_hash()
to get a timewait parameter to be able to unhash it from ehash
at same time the new socket is inserted in hash.
This makes sure timewait socket wont be found by a concurrent
writer in __inet_check_established()
Reported-by: kapil dakhane <kdakhane@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-12-08 20:17:51 -08:00
..
2009-11-02 08:43:45 -06:00
2009-12-03 19:34:24 +01:00
2009-11-06 00:55:55 -08:00
2009-12-03 12:22:03 -08:00
2009-11-18 10:08:26 -08:00
2009-11-29 00:57:15 -08:00
2009-10-22 21:56:42 -07:00
2009-08-17 21:33:49 -07:00
2009-09-15 02:37:40 -07:00
2009-11-04 05:06:25 -08:00
2009-09-01 17:40:57 -07:00
2009-11-28 15:05:05 -05:00
2009-10-20 01:09:17 -07:00
2009-09-01 01:24:30 -07:00
2009-12-08 07:55:01 -08:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2009-09-01 17:40:31 -07:00
2009-11-04 23:24:15 -08:00
2009-12-03 12:22:55 -08:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2009-10-30 16:49:20 -04:00
2009-11-06 14:32:18 +03:00
2009-11-04 05:06:25 -08:00
2009-12-08 20:17:51 -08:00
2009-09-30 16:12:20 -07:00
2009-12-08 20:17:51 -08:00
2009-10-18 18:52:53 -07:00
2009-12-03 16:17:43 -08:00
2009-11-13 20:46:58 -08:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2009-11-06 00:55:55 -08:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2009-12-04 13:25:15 -08:00
2009-09-24 07:21:04 -07:00
2009-12-08 07:55:01 -08:00
2009-12-03 12:22:01 -08:00
2009-08-25 16:07:40 +02:00
2009-08-19 23:08:22 +04:00
2009-11-20 15:35:04 -08:00
2009-11-04 05:06:25 -08:00
2009-11-05 21:40:17 -08:00
2009-11-04 05:06:25 -08:00
2009-12-02 22:07:23 -08:00
2009-12-01 16:15:50 -08:00
2009-11-08 00:53:51 -08:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2009-11-08 20:53:06 -08:00
2009-12-02 22:24:02 -08:00
2009-09-02 01:03:49 -07:00
2009-11-10 20:54:38 -08:00
2009-10-07 16:39:43 -04:00
2009-10-19 15:56:07 +09:00
2009-11-06 14:32:24 +03:00
2009-11-29 00:24:59 -08:00
2009-11-25 15:48:38 -08:00