summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2026-03-26 22:32:31 +0200
committerJakub Kicinski <kuba@kernel.org>2026-03-27 21:07:24 -0700
commitae3cdfd4e0b86e5d23b46b80e8b010f5392c9635 (patch)
treebc1f4a68fded6f40cf6468635896e4bc7a93458b /tools/perf/scripts/python/bin
parent77a347f82a8043c2ee77edf50cb585fb7b604325 (diff)
vrf: Remove unnecessary NULL check
The VRF driver always allocates an IPv4 dst entry for a VRF device and prevents the device from being registered if the allocation fails. Therefore, there is no need to check if the entry exists when tearing down a VRF device. Remove the check. Note that the same is not true for the IPv6 dst entry. Its creation can be skipped if IPv6 is administratively disabled (i.e., 'ipv6.disable=1'). Reviewed-by: Petr Machata <petrm@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/20260326203233.1128554-2-idosch@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions