diff options
| author | Paul Barker <[email protected]> | 2024-10-15 14:36:28 +0100 |
|---|---|---|
| committer | Andrew Lunn <[email protected]> | 2024-10-17 21:24:24 -0500 |
| commit | 5a2d973e36061cbf8d1ba00a9294244522715e53 (patch) | |
| tree | 30e5676d301de3754c32dd0bf845be2eb630f62a /tools/perf/scripts/python/stat-cpi.py | |
| parent | 8d2109c1a51525c3586c5bf6f78ab1ce3c2908f8 (diff) | |
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 <[email protected]>
Signed-off-by: Paul Barker <[email protected]>
Signed-off-by: Andrew Lunn <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions