summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2025-07-02 03:06:34 -0700
committerJakub Kicinski <kuba@kernel.org>2025-07-07 18:52:55 -0700
commit01dae7a61c1a9bfdc204b602c83313fd08889a91 (patch)
tree41205363f74a0cc4f215b1014849553ae6a4acc5 /net/unix/af_unix.c
parent4b52cdfcce21d3cc207a1ddb691e1f8c1fcda6fc (diff)
netpoll: factor out UDP checksum calculation into helper
Extract UDP checksum calculation logic from netpoll_send_udp() into a new static helper function netpoll_udp_checksum(). This reduces code duplication and improves readability for both IPv4 and IPv6 cases. No functional change intended. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250702-netpoll_untagle_ip-v2-2-13cf3db24e2b@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions