1. 07 3月, 2012 3 次提交
  2. 06 3月, 2012 2 次提交
  3. 03 3月, 2012 2 次提交
  4. 02 3月, 2012 3 次提交
  5. 01 3月, 2012 1 次提交
    • M
      tg3: Fix tg3_get_stats64 for 5700 / 5701 devs · 65ec698d
      Matt Carlson 提交于
      tg3_get_stats64() takes tp->lock when dealing with non-serdes bcm5700
      and bcm5701 devices.  However, functions that call tg3_halt() have
      already acquired tp->lock.  When tg3_get_stats64() is called in
      tg3_halt(), deadlock will occur.
      
      This patch fixes the problem by separating the stat gathering code into
      a new tg3_get_nstats() function.  tg3_get_stats64() is recoded to call
      this function and take tp->lock.  The code that takes tp->lock in
      tg3_calc_crc_errors() has been removed.  Function signatures have been
      cleaned up too.
      Signed-off-by: NMatt Carlson <mcarlson@broadcom.com>
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      65ec698d
  6. 25 2月, 2012 3 次提交
    • B
      sfc: Fix assignment of ip_summed for pre-allocated skbs · ff3bc1e7
      Ben Hutchings 提交于
      When pre-allocating skbs for received packets, we set ip_summed =
      CHECKSUM_UNNCESSARY.  We used to change it back to CHECKSUM_NONE when
      the received packet had an incorrect checksum or unhandled protocol.
      
      Commit bc8acf2c ('drivers/net: avoid
      some skb->ip_summed initializations') mistakenly replaced the latter
      assignment with a DEBUG-only assertion that ip_summed ==
      CHECKSUM_NONE.  This assertion is always false, but it seems no-one
      has exercised this code path in a DEBUG build.
      
      Fix this by moving our assignment of CHECKSUM_UNNECESSARY into
      efx_rx_packet_gro().
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      ff3bc1e7
    • B
      ppp: fix 'ppp_mp_reconstruct bad seq' errors · 8a49ad6e
      Ben McKeegan 提交于
      This patch fixes a (mostly cosmetic) bug introduced by the patch
      'ppp: Use SKB queue abstraction interfaces in fragment processing'
      found here: http://www.spinics.net/lists/netdev/msg153312.html
      
      The above patch rewrote and moved the code responsible for cleaning
      up discarded fragments but the new code does not catch every case
      where this is necessary.  This results in some discarded fragments
      remaining in the queue, and triggering a 'bad seq' error on the
      subsequent call to ppp_mp_reconstruct.  Fragments are discarded
      whenever other fragments of the same frame have been lost.
      This can generate a lot of unwanted and misleading log messages.
      
      This patch also adds additional detail to the debug logging to
      make it clearer which fragments were lost and which other fragments
      were discarded as a result of losses. (Run pppd with 'kdebug 1'
      option to enable debug logging.)
      Signed-off-by: NBen McKeegan <ben@netservers.co.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8a49ad6e
    • S
      enic: Fix endianness bug. · 21ca54e9
      Santosh Nayak 提交于
      Sparse complaints the endian bug.
      Signed-off-by: NSantosh Nayak <santoshprasadnayak@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      21ca54e9
  7. 24 2月, 2012 6 次提交
  8. 23 2月, 2012 5 次提交
  9. 22 2月, 2012 6 次提交
  10. 21 2月, 2012 1 次提交
  11. 20 2月, 2012 5 次提交
  12. 16 2月, 2012 3 次提交