diff options
| author | Breno Leitao <[email protected]> | 2025-07-02 10:06:34 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-08 01:52:55 +0000 |
| commit | 01dae7a61c1a9bfdc204b602c83313fd08889a91 (patch) | |
| tree | 41205363f74a0cc4f215b1014849553ae6a4acc5 /net/unix/af_unix.c | |
| parent | netpoll: Improve code clarity with explicit struct size calculations (diff) | |
| download | kernel-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
