All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Lin Ma <linma@zju.edu.cn>
Cc: linux-hams@vger.kernel.org, jreuter@yaina.de,
	ralf@linux-mips.org, davem@davemloft.net, kuba@kernel.org,
	netdev@vger.kernel.org, nagi@zju.edu.cn
Subject: Re: [PATCH v0] ax25: NPD bug when detaching AX25 device
Date: Sat, 18 Dec 2021 12:40:10 +0000	[thread overview]
Message-ID: <163983121017.1461.2630742040562872080.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20211217022941.27901-1-linma@zju.edu.cn>

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Fri, 17 Dec 2021 10:29:41 +0800 you wrote:
> The existing cleanup routine implementation is not well synchronized
> with the syscall routine. When a device is detaching, below race could
> occur.
> 
> static int ax25_sendmsg(...) {
>   ...
>   lock_sock()
>   ax25 = sk_to_ax25(sk);
>   if (ax25->ax25_dev == NULL) // CHECK
>   ...
>   ax25_queue_xmit(skb, ax25->ax25_dev->dev); // USE
>   ...
> }
> 
> [...]

Here is the summary with links:
  - [v0] ax25: NPD bug when detaching AX25 device
    https://git.kernel.org/netdev/net/c/1ade48d0c27d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      reply	other threads:[~2021-12-18 12:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17  2:29 [PATCH v0] ax25: NPD bug when detaching AX25 device Lin Ma
2021-12-18 12:40 ` patchwork-bot+netdevbpf [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=163983121017.1461.2630742040562872080.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=davem@davemloft.net \
    --cc=jreuter@yaina.de \
    --cc=kuba@kernel.org \
    --cc=linma@zju.edu.cn \
    --cc=linux-hams@vger.kernel.org \
    --cc=nagi@zju.edu.cn \
    --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 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.