summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-06-12 16:37:32 +0200
committerDavid S. Miller <davem@davemloft.net>2021-06-12 22:18:48 +0200
commitfab01a6f3a61748b9c2e038c84498c6624b06236 (patch)
tree39f7eaa450b74b11c6667a1a694af737247f027b /kernel
parentnet: qualcomm: rmnet: show that an intermediate sum is zero (diff)
downloadlinux-fab01a6f3a61748b9c2e038c84498c6624b06236.tar.xz
linux-fab01a6f3a61748b9c2e038c84498c6624b06236.zip
net: qualcomm: rmnet: return earlier for bad checksum
In rmnet_map_ipv4_dl_csum_trailer(), if the sum of the trailer checksum and the pseudo checksum is non-zero, checksum validation has failed. We can return an error as soon as we know that. We can do the same thing in rmnet_map_ipv6_dl_csum_trailer(). Add some comments that explain where we're headed. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions