diff options
author | Alex Elder <elder@linaro.org> | 2021-06-12 09:37:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-12 13:18:48 -0700 |
commit | fab01a6f3a61748b9c2e038c84498c6624b06236 (patch) | |
tree | 39f7eaa450b74b11c6667a1a694af737247f027b /tools/perf/scripts/python/stackcollapse.py | |
parent | 9d0407bc4c9ca7a2378230dd86f8ce90a2b6ad09 (diff) |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions