1. 05 2月, 2009 1 次提交
  2. 02 2月, 2009 1 次提交
  3. 01 2月, 2009 1 次提交
  4. 30 1月, 2009 28 次提交
  5. 28 1月, 2009 1 次提交
    • E
      net: wrong test in inet_ehash_locks_alloc() · 94cd3e6c
      Eric Dumazet 提交于
      In commit 9db66bdc (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: NEric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      94cd3e6c
  6. 27 1月, 2009 3 次提交
  7. 23 1月, 2009 5 次提交