summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorAndrew Goodbody <andrew.goodbody@linaro.org>2025-08-05 15:53:35 +0100
committerJerome Forissier <jerome.forissier@linaro.org>2025-08-18 15:47:57 +0200
commit425f9839f3c2922a36efaefa53833f0abe681be0 (patch)
tree4ac6cfa2cffca34db3b4310564b9342cc01c50ee /net/net.c
parent6bc6fec3b33f3c14f14493783db9258ac9938062 (diff)
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>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions