All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bhanu Prakash Gollapudi" <bprakash-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
To: Neil Horman <nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
Cc: "linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"devel-s9riP+hp16TNLxjTenLetw@public.gmane.org"
	<devel-s9riP+hp16TNLxjTenLetw@public.gmane.org>,
	"James E.J. Bottomley"
	<JBottomley-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
Subject: Re: [PATCH 2/4] bnx2fc: Remove bh disable in softirq context
Date: Wed, 29 Feb 2012 23:26:39 -0800	[thread overview]
Message-ID: <4F4F24AF.4030406@broadcom.com> (raw)
In-Reply-To: <1330370574-11983-3-git-send-email-nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>

On 2/27/2012 11:22 AM, Neil Horman wrote:
> 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-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
> CC: Bhanu Prakash Gollapudi<bprakash-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
> CC: "James E.J. Bottomley"<JBottomley-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
> CC: Vasu Dev<vasu.dev-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> CC: robert.w.love-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
> ---
>   drivers/scsi/bnx2fc/bnx2fc_fcoe.c |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
> index 8c6156a..34b4a34 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,
>   	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:
Changes look good to me.  Thanks.

Acked-by: Bhanu Prakash Gollapudi <bprakash-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>

           reply	other threads:[~2012-03-01  7:26 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1330370574-11983-3-git-send-email-nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F4F24AF.4030406@broadcom.com \
    --to=bprakash-dy08kvg/lbpwk0htik3j/w@public.gmane.org \
    --cc=JBottomley-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org \
    --cc=devel-s9riP+hp16TNLxjTenLetw@public.gmane.org \
    --cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.