summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul Barker <paul.barker.ct@bp.renesas.com>2024-10-15 16:36:28 +0300
committerAndrew Lunn <andrew@lunn.ch>2024-10-18 05:24:24 +0300
commit5a2d973e36061cbf8d1ba00a9294244522715e53 (patch)
tree30e5676d301de3754c32dd0bf845be2eb630f62a /tools/perf/scripts/python/export-to-postgresql.py
parent8d2109c1a51525c3586c5bf6f78ab1ce3c2908f8 (diff)
downloadlinux-5a2d973e36061cbf8d1ba00a9294244522715e53.tar.xz
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions