diff options
author | Breno Leitao <leitao@debian.org> | 2025-06-20 11:48:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 11:04:15 +0200 |
commit | 353016ec159f939a380ff6746476a779367ba9a3 (patch) | |
tree | 30e38951560ab9976aedf42159aeb8fc67778511 /tools/perf/scripts/python/libxed.py | |
parent | 8f032e5eb6e353cc97f5aa375c3093fa5922e0ee (diff) |
net: netpoll: Initialize UDP checksum field before checksumming
[ Upstream commit f5990207026987a353d5a95204c4d9cb725637fd ]
commit f1fce08e63fe ("netpoll: Eliminate redundant assignment") removed
the initialization of the UDP checksum, which was wrong and broke
netpoll IPv6 transmission due to bad checksumming.
udph->check needs to be set before calling csum_ipv6_magic().
Fixes: f1fce08e63fe ("netpoll: Eliminate redundant assignment")
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250620-netpoll_fix-v1-1-f9f0b82bc059@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions