1. 15 12月, 2018 1 次提交
  2. 30 9月, 2018 1 次提交
  3. 21 8月, 2018 1 次提交
  4. 12 8月, 2018 1 次提交
  5. 30 6月, 2018 1 次提交
  6. 26 6月, 2018 1 次提交
    • J
      r8152: napi hangup fix after disconnect · 0ee1f473
      Jiri Slaby 提交于
      When unplugging an r8152 adapter while the interface is UP, the NIC
      becomes unusable.  usb->disconnect (aka rtl8152_disconnect) deletes
      napi. Then, rtl8152_disconnect calls unregister_netdev and that invokes
      netdev->ndo_stop (aka rtl8152_close). rtl8152_close tries to
      napi_disable, but the napi is already deleted by disconnect above. So
      the first while loop in napi_disable never finishes. This results in
      complete deadlock of the network layer as there is rtnl_mutex held by
      unregister_netdev.
      
      So avoid the call to napi_disable in rtl8152_close when the device is
      already gone.
      
      The other calls to usb_kill_urb, cancel_delayed_work_sync,
      netif_stop_queue etc. seem to be fine. The urb and netdev is not
      destroyed yet.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Cc: linux-usb@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0ee1f473
  7. 22 6月, 2018 1 次提交
  8. 27 2月, 2018 1 次提交
  9. 03 2月, 2018 2 次提交
  10. 18 1月, 2018 1 次提交
  11. 24 10月, 2017 1 次提交
  12. 02 10月, 2017 1 次提交
  13. 09 8月, 2017 1 次提交
  14. 21 6月, 2017 1 次提交
  15. 16 6月, 2017 5 次提交
  16. 14 6月, 2017 1 次提交
  17. 10 6月, 2017 11 次提交
  18. 05 6月, 2017 1 次提交
  19. 19 5月, 2017 1 次提交
  20. 02 4月, 2017 1 次提交
  21. 25 3月, 2017 1 次提交
  22. 23 3月, 2017 2 次提交
  23. 22 3月, 2017 2 次提交