[lvc-project] [PATCH net] llc: fix data loss when reading from a socket in llc_ui_recvmsg()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Mon May 19 14:20:28 MSK 2025


Hello:

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

On Thu, 15 May 2025 12:20:15 +0000 you wrote:
> For SOCK_STREAM sockets, if user buffer size (len) is less
> than skb size (skb->len), the remaining data from skb
> will be lost after calling kfree_skb().
> 
> To fix this, move the statement for partial reading
> above skb deletion.
> 
> [...]

Here is the summary with links:
  - [net] llc: fix data loss when reading from a socket in llc_ui_recvmsg()
    https://git.kernel.org/netdev/net/c/239af1970bcb

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





More information about the lvc-project mailing list