1. 06 12月, 2006 1 次提交
    • D
      [PATCH] zd1211rw: zd_mac_rx isn't always called in IRQ context · 383956a9
      Daniel Drake 提交于
      e.g.
      
      usb 1-7: rx_urb_complete() *** first fragment ***
      usb 1-7: rx_urb_complete() *** second fragment ***
      drivers/net/wireless/zd1211rw/zd_mac.c:1063 ASSERT
      (((current_thread_info()->preempt_count) & (((1UL << (12))-1) << ((0 +
      8) + 8)))) VIOLATED!
       [<f0299448>] zd_mac_rx+0x3e7/0x47a [zd1211rw]
       [<f029badc>] rx_urb_complete+0x22d/0x24a [zd1211rw]
       [<b028a22f>] urb_destroy+0x0/0x5
       [<b01f0930>] kref_put+0x65/0x72
       [<b0288cdf>] usb_hcd_giveback_urb+0x28/0x57
       [<b02950c4>] qh_completions+0x296/0x2f6
       [<b0294b21>] ehci_urb_done+0x70/0x7a
       [<b0294ea1>] qh_completions+0x73/0x2f6
       [<b02951bc>] ehci_work+0x98/0x538
      
      Remove the bogus assertion, and use dev_kfree_skb_any as pointed out by
      Ulrich Kunitz.
      Signed-off-by: NDaniel Drake <dsd@gentoo.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      383956a9
  2. 05 12月, 2006 39 次提交