Re: [net] tcp: Fix sign comparison bug in getsockopt(TCP_ZEROCOPY_RECEIVE)

2021-02-26 Thread patchwork-bot+netdevbpf
...] Here is the summary with links: - [net] tcp: Fix sign comparison bug in getsockopt(TCP_ZEROCOPY_RECEIVE) https://git.kernel.org/netdev/net/c/2107d45f17be You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html

[net] tcp: Fix sign comparison bug in getsockopt(TCP_ZEROCOPY_RECEIVE)

2021-02-25 Thread Arjun Roy
From: Arjun Roy getsockopt(TCP_ZEROCOPY_RECEIVE) has a bug where we read a user-provided "len" field of type signed int, and then compare the value to the result of an "offsetofend" operation, which is unsigned. Negative values provided by the user will be promoted to large positive numbers; thu