Commit fc05ab74 authored by Neil Horman's avatar Neil Horman Committed by James Bottomley

[SCSI] bnx2fc: Remove bh disable in softirq context

As with the fcoe sw transport, the bnx2fc packet handler function runs only in
softirq context.  Theres no need to disable bottom halves here
Signed-off-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Acked-by: default avatarBhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: default avatarRobert Love <robert.w.love@intel.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 94aa29f2
...@@ -440,13 +440,13 @@ static int bnx2fc_rcv(struct sk_buff *skb, struct net_device *dev, ...@@ -440,13 +440,13 @@ static int bnx2fc_rcv(struct sk_buff *skb, struct net_device *dev,
fr->fr_dev = lport; fr->fr_dev = lport;
bg = &bnx2fc_global; bg = &bnx2fc_global;
spin_lock_bh(&bg->fcoe_rx_list.lock); spin_lock(&bg->fcoe_rx_list.lock);
__skb_queue_tail(&bg->fcoe_rx_list, skb); __skb_queue_tail(&bg->fcoe_rx_list, skb);
if (bg->fcoe_rx_list.qlen == 1) if (bg->fcoe_rx_list.qlen == 1)
wake_up_process(bg->thread); wake_up_process(bg->thread);
spin_unlock_bh(&bg->fcoe_rx_list.lock); spin_unlock(&bg->fcoe_rx_list.lock);
return 0; return 0;
err: err:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment