aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2025-04-09 03:33:21 +0000
committerJakub Kicinski <[email protected]>2025-04-11 03:15:26 +0000
commit3b4f78f9ad292ad57e3db483332ce7bc799d0d49 (patch)
tree833c6e62a89a7c506b2b0ac7689773a0377a3247 /drivers/net/ethernet/intel/ice/ice_lib.c
parentMerge branch 'tools-ynl-c-basic-netlink-raw-support' (diff)
downloadkernel-3b4f78f9ad292ad57e3db483332ce7bc799d0d49.tar.gz
kernel-3b4f78f9ad292ad57e3db483332ce7bc799d0d49.zip
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 <[email protected]> Reviewed-by: David Ahern <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions