Eric Dumazet
1bde5ac493
tcp: fix listening_get_next()
...
Alexey Vlasov found /proc/net/tcp could sometime loop and display
millions of sockets in LISTEN state.
In 2.6.29, when we converted TCP hash tables to RCU, we left two
sk_next() calls in listening_get_next().
We must instead use sk_nulls_next() to properly detect an end of chain.
Reported-by: Alexey Vlasov <renton@renton.name>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-23 09:32:46 -08:00
..
2010-11-03 08:45:06 +01:00
2010-08-20 00:50:16 -07:00
2010-03-30 22:02:32 +09:00
2010-10-11 12:54:04 -07:00
2010-10-18 11:03:14 +02:00
2010-09-23 14:33:39 -07:00
2010-10-19 03:50:48 -07:00
2010-02-22 16:20:22 -08:00
2010-10-28 10:27:03 -07:00
2010-10-28 10:27:03 -07:00
2010-11-04 12:05:32 -07:00
2010-10-05 20:39:38 -07:00
2010-10-21 03:09:41 -07:00
2010-11-21 10:04:04 -08:00
2010-10-25 13:09:45 -07:00
2010-11-16 11:43:39 -08:00
2010-11-09 08:26:42 -08:00
2010-07-12 12:57:54 -07:00
2010-11-04 12:26:34 -07:00
2010-07-12 12:57:54 -07:00
2010-11-28 18:18:44 -08:00
2009-11-23 10:41:23 -08:00
2010-03-30 22:02:32 +09:00
2010-10-27 11:37:33 -07:00
2010-06-10 23:31:35 -07:00
2010-09-23 14:33:39 -07:00
2010-10-30 16:21:28 -07:00
2010-06-28 23:24:29 -07:00
2010-09-19 12:42:34 -07:00
2010-09-27 01:03:03 -07:00
2010-10-25 14:18:28 -07:00
2010-02-22 16:20:22 -08:00
2010-06-02 07:05:03 -07:00
2010-10-27 14:20:08 -07:00
2010-10-03 21:50:53 -07:00
2010-10-24 13:41:39 -07:00
2010-08-21 23:05:39 -07:00
2010-06-15 17:31:06 +02:00
2010-12-08 12:16:33 -08:00
2010-10-27 11:37:31 -07:00
2010-08-19 00:08:30 -07:00
2010-10-27 11:37:31 -07:00
2010-06-26 22:00:03 -07:00
2010-11-28 10:39:45 -08:00
2009-03-02 03:00:15 -08:00
2010-08-27 19:31:56 -07:00
2009-03-02 03:00:15 -08:00
2009-12-03 16:06:13 -08:00
2008-01-28 14:55:41 -08:00
2009-11-23 10:41:23 -08:00
2010-06-02 07:15:48 -07:00
2010-10-18 11:03:14 +02:00
2010-11-10 12:12:00 -08:00
2010-12-23 09:32:46 -08:00
2009-11-23 10:41:23 -08:00
2010-12-08 12:16:33 -08:00
2010-12-08 12:34:09 -08:00
2010-10-15 15:53:27 +02:00
2009-03-02 03:00:15 -08:00
2010-10-17 13:46:33 -07:00
2009-05-25 22:44:59 -07:00
2007-07-31 02:27:57 -07:00
2010-10-18 11:03:14 +02:00
2010-09-23 14:33:39 -07:00
2009-11-23 10:41:23 -08:00
2010-11-24 11:47:22 -08:00
2010-10-27 11:37:32 -07:00
2009-09-30 16:12:20 -07:00
2010-12-16 14:26:56 -08:00
2010-12-16 14:26:56 -08:00
2010-07-12 12:57:54 -07:00
2008-08-06 02:39:30 -07:00
2007-10-10 16:55:54 -07:00
2010-03-30 22:02:32 +09:00
2010-03-25 16:00:30 +01:00
2010-10-11 13:06:53 -07:00
2010-09-20 11:11:38 -07:00
2010-08-30 13:50:45 -07:00