1. 01 8月, 2008 2 次提交
    • J
      ipvs: Move userspace definitions to include/linux/ip_vs.h · bc4768eb
      Julius Volz 提交于
      Current versions of ipvsadm include "/usr/src/linux/include/net/ip_vs.h"
      directly. This file also contains kernel-only definitions. Normally, public
      definitions should live in include/linux, so this patch moves the
      definitions shared with userspace to a new file, "include/linux/ip_vs.h".
      
      This also removes the unused NFC_IPVS_PROPERTY bitmask, which was once
      used to point into skb->nfcache.
      
      To make old ipvsadms still compile with this, the old header file includes
      the new one.
      
      Thanks to Dave Miller and Horms for noting/adding the missing Kbuild entry
      for the new header file.
      Signed-off-by: NJulius Volz <juliusv@google.com>
      Acked-by: NSimon Horman <horms@verge.net.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bc4768eb
    • D
      netdev: Fix lockdep warnings in multiqueue configurations. · c3f26a26
      David S. Miller 提交于
      When support for multiple TX queues were added, the
      netif_tx_lock() routines we converted to iterate over
      all TX queues and grab each queue's spinlock.
      
      This causes heartburn for lockdep and it's not a healthy
      thing to do with lots of TX queues anyways.
      
      So modify this to use a top-level lock and a "frozen"
      state for the individual TX queues.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c3f26a26
  2. 31 7月, 2008 18 次提交
  3. 30 7月, 2008 20 次提交