Thread (4 messages) flat view 4 messages, 4 authors, 2021-02-05

Re: [PATCH net v2] udp: fix skb_copy_and_csum_datagram with odd segment sizes

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-02-05 04:21:08

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Wed,  3 Feb 2021 14:29:52 -0500 you wrote:
From: Willem de Bruijn <willemb@google.com>

When iteratively computing a checksum with csum_block_add, track the
offset "pos" to correctly rotate in csum_block_add when offset is odd.

The open coded implementation of skb_copy_and_csum_datagram did this.
With the switch to __skb_datagram_iter calling csum_and_copy_to_iter,
pos was reinitialized to 0 on each call.

[...]
Here is the summary with links:
  - [net,v2] udp: fix skb_copy_and_csum_datagram with odd segment sizes
    https://git.kernel.org/netdev/net/c/52cbd23a119c

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help