Re: [PATCH net-next] ppp: simplify input error handling
From: patchwork-bot+netdevbpf
Date: Mon Mar 09 2026 - 22:25:06 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Fri, 6 Mar 2026 17:36:49 +0800 you wrote:
> Currently, ppp_input_error() indicates an error by allocating a 0-length
> skb and calling ppp_do_recv(). It takes an error code argument, which is
> stored in skb->cb, but not used by ppp_receive_frame().
>
> Simplify the error handling by removing the unused parameter and the
> unnecessary skb allocation. Instead, call ppp_receive_error() directly
> from ppp_input_error() under the recv lock, and the length check in
> ppp_receive_frame() can be removed.
>
> [...]
Here is the summary with links:
- [net-next] ppp: simplify input error handling
https://git.kernel.org/netdev/net-next/c/abb0eb0b033a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html