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-09-12 16:30:20 -07:00
2007-10-10 16:53:56 -07:00
2008-12-19 15:22:54 -05:00
2008-11-25 17:35:18 -08:00
2008-11-25 17:35:18 -08:00
2008-07-05 21:26:57 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-11-25 18:00:48 -08:00
2008-06-11 21:00:38 -07:00
2008-02-29 11:46:17 -08:00
2008-03-28 16:28:36 -07:00
2009-01-16 17:08:23 -05:00
2008-11-12 00:54:54 -08:00
2009-01-06 11:38:15 -07:00
2008-11-16 23:01:49 -08:00
2009-01-08 10:40:57 -08:00
2008-11-14 11:29:12 +11:00
2008-06-11 21:00:38 -07:00
2008-07-05 21:25:39 -07:00
2008-12-15 23:43:36 -08:00
2008-11-16 19:39:21 -08:00
2008-11-25 18:00:48 -08:00