diff options
author | 2024-10-15 14:36:28 +0100 | |
---|---|---|
committer | 2024-10-17 21:24:24 -0500 | |
commit | 5a2d973e36061cbf8d1ba00a9294244522715e53 (patch) | |
tree | 30e5676d301de3754c32dd0bf845be2eb630f62a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: ravb: Drop IP protocol check from RX csum verification (diff) | |
download | wireguard-linux-5a2d973e36061cbf8d1ba00a9294244522715e53.tar.xz wireguard-linux-5a2d973e36061cbf8d1ba00a9294244522715e53.zip |
net: ravb: Combine if conditions in RX csum validation
We can merge the two if conditions on skb_is_nonlinear(). Since
skb_frag_size_sub() and skb_trim() do not free memory, it is still safe
to access the trimmed bytes at the end of the packet after these calls.
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions