aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2025-07-02 10:06:34 +0000
committerJakub Kicinski <[email protected]>2025-07-08 01:52:55 +0000
commit01dae7a61c1a9bfdc204b602c83313fd08889a91 (patch)
tree41205363f74a0cc4f215b1014849553ae6a4acc5 /net/unix/af_unix.c
parentnetpoll: Improve code clarity with explicit struct size calculations (diff)
downloadkernel-01dae7a61c1a9bfdc204b602c83313fd08889a91.tar.gz
kernel-01dae7a61c1a9bfdc204b602c83313fd08889a91.zip
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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions