Eric Dumazet
94cd3e6cbe
net: wrong test in inet_ehash_locks_alloc()
...
In commit 9db66bdcc83749affe61c61eb8ff3cf08f42afec (net: convert
TCP/DCCP ehash rwlocks to spinlocks), I forgot to change one
occurrence of rwlock_t to spinlock_t
I believe sizeof(raw_spinlock_t) might be > 0 on !CONFIG_SMP if
CONFIG_DEBUG_SPINLOCK while sizeof(raw_rwlock_t) should be 0 in this
case.
Fortunatly, CONFIG_DEBUG_SPINLOCK adds fields to both spinlock_t and
rwlock_t, but at this might change in the future (being able to debug
spinlocks but not rwlocks for example), better to be safe.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-27 17:45:10 -08:00
..
2008-10-22 18:54:47 -05:00
2008-11-30 12:17:28 +01:00
2008-12-17 15:44:58 -08:00
2008-12-25 13:39:04 +01:00
2008-11-25 18:20:13 +01:00
2008-12-10 16:29:24 -08:00
2008-12-17 15:48:31 -08:00
2009-01-22 14:52:23 -08:00
2008-09-12 16:30:20 -07:00
2008-07-14 22:42:19 -07:00
2008-01-28 15:11:17 -08:00
2008-08-14 15:33:21 -07:00
2008-11-26 15:32:27 -08:00
2007-10-10 16:55:55 -07:00
2008-01-31 19:27:33 -08:00
2008-02-12 17:53:34 -08:00
2007-10-10 16:53:56 -07:00
2008-12-19 15:22:54 -05:00
2008-11-19 15:44:53 -08:00
2008-12-31 12:54:11 -05:00
2008-07-19 22:35:47 -07:00
2008-12-21 20:09:50 -08:00
2008-11-27 00:12:47 -08:00
2007-10-10 16:52:50 -07:00
2008-11-27 23:04:13 -08:00
2008-10-08 17:24:16 -07:00
2008-01-28 14:55:58 -08:00
2008-11-25 17:35:18 -08:00
2008-01-31 19:27:02 -08:00
2008-07-05 19:01:28 -07:00
2008-11-25 17:35:18 -08:00
2008-07-05 21:26:57 -07:00
2008-11-26 15:24:32 -08:00
2008-06-03 16:36:54 -07:00
2008-07-18 04:04:22 -07:00
2008-12-05 09:32:59 -05:00
2008-12-12 13:48:30 -05:00
2008-07-22 14:21:58 -07:00
2008-10-07 12:41:01 -07:00
2008-04-03 14:28:30 -07:00
2008-08-28 02:53:51 -07:00
2008-04-13 23:40:51 -07:00
2008-03-28 16:35:27 -07:00
2009-01-27 17:45:10 -08:00
2008-10-01 07:46:49 -07:00
2008-11-16 19:40:17 -08:00
2008-06-11 21:00:38 -07:00
2008-03-04 13:48:30 -08:00
2008-08-14 15:33:21 -07:00
2008-06-11 21:00:38 -07:00
2008-02-05 02:54:16 -08:00
2008-11-19 15:44:53 -08:00
2008-11-25 18:00:48 -08:00
2008-07-25 02:54:40 -07:00
2008-06-11 21:00:38 -07:00
2008-10-09 12:03:17 -07:00
2008-10-08 11:16:45 -07:00
2008-06-16 18:50:49 -07:00
2008-11-21 11:42:55 -05:00
2007-10-10 16:49:07 -07:00
2008-02-29 11:46:17 -08:00
2008-03-31 21:02:47 -07:00
2008-03-31 21:02:47 -07:00
2008-03-28 16:28:36 -07:00
2009-01-16 17:08:23 -05:00
2008-04-12 13:43:22 +09:00
2009-01-04 16:04:39 -08:00
2008-11-12 00:54:54 -08:00
2008-11-25 17:14:31 -08:00
2009-01-06 11:38:15 -07:00
2008-01-28 14:53:38 -08:00
2008-12-31 12:54:11 -05:00
2008-12-25 17:21:17 -08:00
2008-11-16 23:01:49 -08:00
2008-09-23 01:05:56 -07:00
2009-01-08 10:40:57 -08:00
2008-03-22 16:56:51 -07:00
2008-01-28 14:54:29 -08:00
2008-11-21 16:45:22 -08:00
2008-06-17 17:08:32 -07:00
2008-10-01 07:35:39 -07:00
2008-04-16 00:46:52 -07:00
2008-11-13 22:56:30 -08:00
2008-11-14 11:29:12 +11:00
2008-06-11 21:00:38 -07:00
2008-11-25 21:17:14 -08:00
2008-07-05 21:25:39 -07:00
2008-12-15 23:43:36 -08:00
2008-11-21 16:45:22 -08:00
2008-06-14 17:04:49 -07:00
2008-11-16 19:39:21 -08:00
2008-10-29 01:41:45 -07:00
2008-06-16 18:32:46 -07:00
2009-01-11 00:06:32 -08:00
2008-11-25 16:41:27 -05:00
2008-11-25 18:00:48 -08:00