Skip to content

Commit

Permalink
[SCSI] bnx2fc: Remove bh disable in softirq context
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Neil Horman authored and James Bottomley committed Mar 28, 2012
1 parent 94aa29f commit fc05ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/bnx2fc/bnx2fc_fcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,13 +440,13 @@ static int bnx2fc_rcv(struct sk_buff *skb, struct net_device *dev,
fr->fr_dev = lport;

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);
if (bg->fcoe_rx_list.qlen == 1)
wake_up_process(bg->thread);

spin_unlock_bh(&bg->fcoe_rx_list.lock);
spin_unlock(&bg->fcoe_rx_list.lock);

return 0;
err:
Expand Down

0 comments on commit fc05ab7

Please sign in to comment.