1. 11 1月, 2012 2 次提交
  2. 04 1月, 2012 1 次提交
    • S
      net/davinci: do not use all descriptors for tx packets · 86d8c07f
      Sascha Hauer 提交于
      The driver uses a shared pool for both rx and tx descriptors.
      During open it queues fixed number of 128 descriptors for receive
      packets. For each received packet it tries to queue another
      descriptor. If this fails the descriptor is lost for rx.
      The driver has no limitation on tx descriptors to use, so it
      can happen during a nmap / ping -f attack that the driver
      allocates all descriptors for tx and looses all rx descriptors.
      The driver stops working then.
      To fix this limit the number of tx descriptors used to half of
      the descriptors available, the rx path uses the other half.
      
      Tested on a custom board using nmap / ping -f to the board from
      two different hosts.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      86d8c07f
  3. 20 12月, 2011 1 次提交
  4. 27 8月, 2011 1 次提交
    • J
      drivers/net/ethernet/*: Enabled vendor Kconfig options · 88f07484
      Jeff Kirsher 提交于
      Based on finds for Stephen Rothwell, where current defconfig's
      enable a ethernet driver and it is not compiled due to the newly
      added NET_VENDOR_* component of Kconfig.
      
      This patch enables all the "new" Kconfig options so that current
      defconfig's will continue to compile the expected drivers.  In
      addition, by enabling all the new Kconfig options does not add
      any un-expected options.
      
      CC: Stephen Rothwll <sfc@canb.auug.org.au>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      88f07484
  5. 18 8月, 2011 1 次提交
  6. 12 8月, 2011 1 次提交