aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2023-07-30 09:41:09 +0200
committerPaolo Abeni <[email protected]>2023-08-01 12:02:42 +0200
commitde9db136dcc3b60ba99f1f5034fc6ae7af45fa99 (patch)
tree6d7dca030406594ad23f5f4a26bf388b65bf4a36 /tools/perf/scripts
parent630e0afacd4beb8ad3081774169632b5b84e653d (diff)
net: dsa: tag_qca: return early if dev is not found
Currently checksum is recalculated and dsa tag stripped even if we later don't find the dev. To improve code, exit early if we don't find the dev and skip additional operation on the skb since it will be freed anyway. Signed-off-by: Christian Marangi <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions