From: patchwork-bot+netdevbpf@kernel.org
To: YuanZhe Liu <25031212351@stu.xidian.edu.cn>
Cc: andrew@lunn.ch, kuba@kernel.org, davem@davemloft.net,
edumazet@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, horms@kernel.org,
byu@xidian.edu.cn, wencheng@xidian.edu.cn
Subject: Re: [PATCH v4] net: ethtool: do not call get_regs() for zero-length dumps
Date: Wed, 02 Dec 2026 04:20:08 +0000 [thread overview]
Message-ID: <179618520824.1177297.893368562944452137.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261127072348.5277-1-25031212351@stu.xidian.edu.cn>
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
On Fri, 27 Nov 2026 15:23:48 +0800 you wrote:
> ethtool_get_regs() passes the user-supplied regs.len to the driver
> unchanged, including zero. A zero-length dump has nothing to fill in,
> but the driver callback still runs and may use that length for its own
> I/O. A zero-length transfer cannot move any data, and some transports
> report a warning for it, which becomes a denial of service when
> panic_on_warn is set.
>
> [...]
Here is the summary with links:
- [v4] net: ethtool: do not call get_regs() for zero-length dumps
https://git.kernel.org/netdev/net/c/0d39bf812678
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-12-02 4:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 7:23 [PATCH v4] net: ethtool: do not call get_regs() for zero-length dumps YuanZhe Liu
2026-11-28 16:05 ` Andrew Lunn
2026-12-02 4:20 ` 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=179618520824.1177297.893368562944452137.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=25031212351@stu.xidian.edu.cn \
--cc=andrew@lunn.ch \
--cc=byu@xidian.edu.cn \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=wencheng@xidian.edu.cn \
/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.