aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2012-03-09 17:50:13 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-03-28 04:15:55 -0400
commitfc05ab74b78a9e16b0faa9f0dc3c87f3f30d3231 (patch)
tree1dafa7e31eb9bcb23df6e0313bfbd43f13663b0c /drivers/scsi/bnx2fc/bnx2fc_fcoe.c
parent94aa29f28e748484de7acef09a0023846624a81c (diff)
[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: Neil Horman <nhorman@tuxdriver.com> Acked-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc_fcoe.c')
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc_fcoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
index 796fd3090ed8..1c34a443b0d6 100644
--- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
+++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
@@ -440,13 +440,13 @@ static int bnx2fc_rcv(struct sk_buff *skb, struct net_device *dev,
440 fr->fr_dev = lport; 440 fr->fr_dev = lport;
441 441
442 bg = &bnx2fc_global; 442 bg = &bnx2fc_global;
443 spin_lock_bh(&bg->fcoe_rx_list.lock); 443 spin_lock(&bg->fcoe_rx_list.lock);
444 444
445 __skb_queue_tail(&bg->fcoe_rx_list, skb); 445 __skb_queue_tail(&bg->fcoe_rx_list, skb);
446 if (bg->fcoe_rx_list.qlen == 1) 446 if (bg->fcoe_rx_list.qlen == 1)
447 wake_up_process(bg->thread); 447 wake_up_process(bg->thread);
448 448
449 spin_unlock_bh(&bg->fcoe_rx_list.lock); 449 spin_unlock(&bg->fcoe_rx_list.lock);
450 450
451 return 0; 451 return 0;
452err: 452err: