linux-hams.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Li,Rongqing" <lirongqing@baidu.com>
To: Eric Dumazet <eric.dumazet@gmail.com>,
	"ralf@linux-mips.org" <ralf@linux-mips.org>,
	"linux-hams@vger.kernel.org" <linux-hams@vger.kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: 答复: [PATCH] net: ax25: replace bh_lock_sock with lock_sock_fast in ax25_rt_autobind
Date: Thu, 4 Apr 2019 06:13:19 +0000	[thread overview]
Message-ID: <0546eb2adfda43a0a0b44e4450f10240@baidu.com> (raw)
In-Reply-To: <c5f89148-0d0a-f81c-5d0d-b631c36196ca@gmail.com>



> -----邮件原件-----
> 发件人: Eric Dumazet [mailto:eric.dumazet@gmail.com]
> 发送时间: 2019年4月4日 11:52
> 收件人: Li,Rongqing <lirongqing@baidu.com>; ralf@linux-mips.org;
> linux-hams@vger.kernel.org; netdev@vger.kernel.org
> 主题: Re: [PATCH] net: ax25: replace bh_lock_sock with lock_sock_fast in
> ax25_rt_autobind
> 
> 
> 
> On 04/03/2019 05:51 PM, Li RongQing wrote:
> > ax25_rt_autobind is always called in user context, so lock_sock_fast
> > should be used, and bh_lock_sock should only be used in BH context
> > this replacement fixes a possible deadlock
> >
> >
> 
> How have you tested this patch exactly ?

Sorry, Please drop this patch.


-Q

      reply	other threads:[~2019-04-04  6:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-04  0:51 [PATCH] net: ax25: replace bh_lock_sock with lock_sock_fast in ax25_rt_autobind Li RongQing
2019-04-04  3:51 ` Eric Dumazet
2019-04-04  6:13   ` Li,Rongqing [this message]

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=0546eb2adfda43a0a0b44e4450f10240@baidu.com \
    --to=lirongqing@baidu.com \
    --cc=eric.dumazet@gmail.com \
    --cc=linux-hams@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=ralf@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).