diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-07-03 17:24:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-04 20:38:37 +0200 |
commit | 90a8007bbeb616e3ea57e2696190e57aa0329531 (patch) | |
tree | d79259bb048802513e6fca574f74b5261efa8d9c /scripts/leaking_addresses.pl | |
parent | net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX (diff) | |
download | linux-90a8007bbeb616e3ea57e2696190e57aa0329531.tar.xz linux-90a8007bbeb616e3ea57e2696190e57aa0329531.zip |
mlxsw: spectrum_router: Fix an IS_ERR() vs NULL check
The mlxsw_sp_crif_alloc() function returns NULL on error. It doesn't
return error pointers. Fix the check.
Fixes: 78126cfd5dc9 ("mlxsw: spectrum_router: Maintain CRIF for fallback loopback RIF")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/leaking_addresses.pl')
0 files changed, 0 insertions, 0 deletions