summaryrefslogtreecommitdiffstats
path: root/net/ipv4/arp.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-02-18 09:03:48 +0100
committerDavid S. Miller <davem@davemloft.net>2022-02-21 12:40:44 +0100
commit0f6938eb2ecc572896ef9ad11238eb2846dcaad3 (patch)
tree43897186845711183df9817c3e9a40deae506a8f /net/ipv4/arp.c
parentMerge branch 'tcp_drop_reason' (diff)
downloadlinux-0f6938eb2ecc572896ef9ad11238eb2846dcaad3.tar.xz
linux-0f6938eb2ecc572896ef9ad11238eb2846dcaad3.zip
net: core: Use csum_replace_by_diff() and csum_sub() instead of opencoding
Open coded calculation can be avoided and replaced by the equivalent csum_replace_by_diff() and csum_sub(). Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/arp.c')
0 files changed, 0 insertions, 0 deletions