1. 23 9月, 2014 1 次提交
  2. 03 9月, 2014 1 次提交
    • I
      tg3: prevent ifup/ifdown during PCI error recovery · 0486a063
      Ivan Vecera 提交于
      The patch fixes race conditions between PCI error recovery callbacks and
      potential ifup/ifdown.
      
      First, if ifup (tg3_open) is called between tg3_io_error_detected() and
      tg3_io_resume() then tp->timer is armed twice before expiry. Once during
      tg3_open() and again during tg3_io_resume(). This results in BUG
      at kernel/time/timer.c:945.
      
      Second, if ifdown (tg3_close) is called between tg3_io_error_detected()
      and tg3_io_resume() then tg3_napi_disable() is called twice without
      a tg3_napi_enable between. Once during tg3_io_error_detected() and again
      during tg3_close(). The tg3_io_resume() then hangs on rtnl_lock().
      
      v2: Added logging messages per Prashant's request
      
      Cc: Prashant Sreedharan <prashant@broadcom.com>
      Cc: Michael Chan <mchan@broadcom.com>
      Signed-off-by: NIvan Vecera <ivecera@redhat.com>
      Acked-by: NPrashant Sreedharan <prashant@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0486a063
  3. 14 8月, 2014 1 次提交
  4. 13 8月, 2014 1 次提交
  5. 06 8月, 2014 1 次提交
  6. 26 6月, 2014 1 次提交
  7. 20 6月, 2014 1 次提交
    • P
      tg3: Clear NETIF_F_TSO6 flag before doing software GSO · 40c1deaf
      Prashant Sreedharan 提交于
      Commit d3f6f3a1 ("tg3: Prevent page
      allocation failure during TSO workaround") modified driver logic
      to use tg3_tso_bug() for any TSO fragment that hits hardware bug
      conditions thus the patch increased the scope of work for tg3_tso_bug()
      to cover devices that support NETIF_F_TSO6 as well. Prior to the
      patch, tg3_tso_bug() would only be used on devices supporting
      NETIF_F_TSO.
      
      A regression was introduced for IPv6 packets requiring the workaround.
      To properly perform GSO on SKBs with TCPV6 gso_type, we need to call
      skb_gso_segment() with NETIF_F_TSO6 feature flag cleared, or the
      function will return NULL and cause a kernel oops as tg3 is not handling
      a NULL return value. This patch fixes the problem.
      Signed-off-by: NPrashant Sreedharan <prashant@broadcom.com>
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      40c1deaf
  8. 03 6月, 2014 1 次提交
  9. 25 5月, 2014 1 次提交
  10. 14 5月, 2014 3 次提交
  11. 19 4月, 2014 1 次提交
  12. 30 3月, 2014 1 次提交
  13. 28 3月, 2014 1 次提交
  14. 27 3月, 2014 1 次提交
  15. 22 3月, 2014 1 次提交
  16. 13 3月, 2014 1 次提交
  17. 01 3月, 2014 1 次提交
  18. 19 2月, 2014 1 次提交
  19. 07 2月, 2014 2 次提交
  20. 17 1月, 2014 1 次提交
  21. 04 1月, 2014 5 次提交
  22. 28 12月, 2013 1 次提交
  23. 11 12月, 2013 1 次提交
  24. 07 12月, 2013 4 次提交
  25. 03 12月, 2013 1 次提交
  26. 29 11月, 2013 1 次提交
  27. 22 11月, 2013 1 次提交
  28. 15 11月, 2013 1 次提交
  29. 08 11月, 2013 1 次提交
  30. 18 10月, 2013 1 次提交