linux/drivers/net/bonding
Qi Zheng d23385a200 bonding: fix error checking in bond_debug_reregister()
[ Upstream commit cbe83191d4 ]

Since commit ff9fb72bc0 ("debugfs: return error values,
not NULL") changed return value of debugfs_rename() in
error cases from %NULL to %ERR_PTR(-ERROR), we should
also check error values instead of NULL.

Fixes: ff9fb72bc0 ("debugfs: return error values, not NULL")
Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Link: https://lore.kernel.org/r/20230202093256.32458-1-zhengqi.arch@bytedance.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-02-14 19:17:58 +01:00
..
bond_3ad.c drivers/net/bonding/bond_3ad: return when there's no aggregator 2023-01-12 11:59:15 +01:00
bond_alb.c net: bonding: fix possible NULL deref in rlb code 2022-07-07 17:53:28 +02:00
bond_debugfs.c bonding: fix error checking in bond_debug_reregister() 2023-02-14 19:17:58 +01:00
bond_main.c bonding: uninitialized variable in bond_miimon_inspect() 2022-12-31 13:14:14 +01:00
bond_netlink.c bonding: add new option lacp_active 2021-08-03 11:50:22 +01:00
bond_options.c bonding: fix ad_actor_system option setting to default 2021-12-29 12:28:44 +01:00
bond_procfs.c bonding: add new option lacp_active 2021-08-03 11:50:22 +01:00
bond_sysfs.c bonding: add new option lacp_active 2021-08-03 11:50:22 +01:00
bond_sysfs_slave.c bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed 2021-11-18 19:17:08 +01:00
bonding_priv.h drivers: Remove inclusion of vermagic header 2020-04-21 13:27:37 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00