> Actually, I tried to implement the completion callback
 > in a workqueue thread but ipoib_cm_handle_tx_wc() calls
 > netif_tx_lock() which isn't safe unless it is called
 > from an IRQ handler or netif_tx_lock_bh() is called first.

Oh, sounds like a bug in IPoIB.  I guess we could fix it by just
changing it to netif_tx_lock_bh()?  (Or is that not safe from an IRQ handler?)
-- 
Roland Dreier <rola...@cisco.com> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to