Andrew Goodbody 425f9839f3 net: octeontx2: NULL check before dereference
In rvu_af_init if the code fails to allocate memory for nix_af it will
take the error path with nix_af == NULL which will dereference nix_af.
Add the appropriate NULL check.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
2025-08-18 15:47:57 +02:00
..
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2021-09-30 08:08:56 -04:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00