On 02/04/2011 11:03 AM, Mike Christie wrote:
set_current_state(TASK_INTERRUPTIBLE); while (!kthread_should_stop()) { schedule(); set_current_state(TASK_RUNNING); spin_lock_bh(&bg->fcoe_rx_list.lock); while ((skb = __skb_dequeue(&bg->fcoe_rx_list)) != NULL) { spin_unlock_bh(&bg->fcoe_rx_list.lock); bnx2fc_recv_frame(skb); spin_lock_bh(&bg->fcoe_rx_list.lock); }
Oops, missing spin_unlock here.
set_current_state(TASK_INTERRUPTIBLE); } set_current_state(TASK_RUNNING); _______________________________________________ devel mailing list devel@xxxxxxxxxxxxx https://lists.open-fcoe.org/mailman/listinfo/devel
-- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html