From: patchwork-bot+netdevbpf@kernel.org
To: Xiao Liang <shaw.leon@gmail.com>
Cc: willemdebruijn.kernel@gmail.com, jasowangio@gmail.com,
netdev@vger.kernel.org
Subject: Re: [PATCH net] tun: drop batched packets while the device is down
Date: Thu, 29 Oct 2026 16:30:12 +0000 [thread overview]
Message-ID: <179329141279.559085.15478130548672944710.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261027101830.85327-1-shaw.leon@gmail.com>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 27 Oct 2026 18:18:27 +0800 you wrote:
> tun_sendmsg() handles TUN_MSG_PTR batches from vhost-net by calling
> tun_xdp_one() instead of tun_get_user(). But this path does not check
> IFF_UP, allowing packets from a guest to be injected into the host
> receive path while the device is administratively down.
>
> Check IFF_UP in tun_xdp_one() before running XDP or building an skb.
> Drop the packet when the device is down, matching tun_get_user().
>
> [...]
Here is the summary with links:
- [net] tun: drop batched packets while the device is down
https://git.kernel.org/netdev/net/c/8f44631ba02a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-10-29 16:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 10:18 [PATCH net] tun: drop batched packets while the device is down Xiao Liang
2026-10-27 10:21 ` netdev-bot+sinfo
2026-10-27 14:13 ` Willem de Bruijn
2026-10-29 16:30 ` 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=179329141279.559085.15478130548672944710.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=jasowangio@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=shaw.leon@gmail.com \
--cc=willemdebruijn.kernel@gmail.com \
/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.