linux/drivers/net/bonding
Daniil Tatianin 4e5f2c74cb drivers/net/bonding/bond_3ad: return when there's no aggregator
[ Upstream commit 9c80796548 ]

Otherwise we would dereference a NULL aggregator pointer when calling
__set_agg_ports_ready on the line below.

Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-01-12 11:59:15 +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 net: bonding: remove unnecessary braces 2021-05-20 15:43:24 -07: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