diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-03-11 08:19:55 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-14 04:57:45 +0300 |
| commit | b2a1d719be4f8e9d970038ecd4db983f6e42d377 (patch) | |
| tree | 2215358a1e83da4a55241a1d416953a1f573d06d /include/uapi/linux | |
| parent | c2539d4f2df7a9889b71bad97b97ddfd9e47add1 (diff) | |
| download | linux-b2a1d719be4f8e9d970038ecd4db983f6e42d377.tar.xz | |
udp: Remove partial csum code in TX.
UDP TX paths also have some code for UDP-Lite partial
checksum:
* udplite_csum() in udp_send_skb() and udp_v6_send_skb()
* udplite_getfrag() in udp_sendmsg() and udpv6_sendmsg()
Let's remove such code.
Now, we can use IPPROTO_UDP directly instead of sk->sk_protocol
or fl6->flowi6_proto for csum_tcpudp_magic() and csum_ipv6_magic().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20260311052020.1213705-9-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
