Re: [PATCH net v2] drivers/net/bonding/bond_3ad: return when there's no aggregator

From: Jiri Pirko
Date: Mon Jan 02 2023 - 10:40:00 EST


Mon, Jan 02, 2023 at 10:53:35AM CET, d-tatianin@xxxxxxxxxxxxxx wrote:
>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: 1da177e4c3f4 ("Linux-2.6.12-rc2")
>Signed-off-by: Daniil Tatianin <d-tatianin@xxxxxxxxxxxxxx>

Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>