summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@163.com>2025-04-09 06:33:21 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-11 06:15:26 +0300
commit3b4f78f9ad292ad57e3db483332ce7bc799d0d49 (patch)
tree833c6e62a89a7c506b2b0ac7689773a0377a3247 /tools/perf/scripts/python/export-to-sqlite.py
parentdd4f33b471da719b5ff539616a0d4af1ca123272 (diff)
downloadlinux-3b4f78f9ad292ad57e3db483332ce7bc799d0d49.tar.xz
ipv4: remove unnecessary judgment in ip_route_output_key_hash_rcu
In the ip_route_output_key_cash_rcu function, the input fl4 member saddr is first checked to be non-zero before entering multicast, broadcast and arbitrary IP address checks. However, the fact that the IP address is not 0 has already ruled out the possibility of any address, so remove unnecessary judgment. Signed-off-by: Zhengchao Shao <shaozhengchao@163.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://patch.msgid.link/20250409033321.108244-1-shaozhengchao@163.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions