From: patchwork-bot+netdevbpf@kernel.org
To: Pengpeng Hou <pengpeng@iscas.ac.cn>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
tglx@kernel.org, mingo@kernel.org, kees@kernel.org,
pabeni@redhat.com
Subject: Re: [PATCH net v2] NFC: pn533: bound the UART receive buffer
Date: Tue, 31 Mar 2026 09:10:05 +0000 [thread overview]
Message-ID: <177494820579.2191087.3471389176795007575.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260326142033.82297-1-pengpeng@iscas.ac.cn>
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Thu, 26 Mar 2026 22:20:33 +0800 you wrote:
> pn532_receive_buf() appends every incoming byte to dev->recv_skb and
> only resets the buffer after pn532_uart_rx_is_frame() recognizes a
> complete frame. A continuous stream of bytes without a valid PN532 frame
> header therefore keeps growing the skb until skb_put_u8() hits the tail
> limit.
>
> Drop the accumulated partial frame once the fixed receive buffer is full
> so malformed UART traffic cannot grow the skb past
> PN532_UART_SKB_BUFF_LEN.
>
> [...]
Here is the summary with links:
- [net,v2] NFC: pn533: bound the UART receive buffer
https://git.kernel.org/netdev/net/c/30fe3f5f6494
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-03-31 9:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-23 7:24 [PATCH] NFC: pn533: bound the UART receive buffer Pengpeng Hou
2026-03-26 10:48 ` Paolo Abeni
2026-03-26 14:20 ` [PATCH net v2] " Pengpeng Hou
2026-03-31 9:10 ` 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=177494820579.2191087.3471389176795007575.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pengpeng@iscas.ac.cn \
--cc=tglx@kernel.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