summaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorDuoming Zhou <duoming@zju.edu.cn>2024-03-08 22:25:40 +0800
committerJakub Kicinski <kuba@kernel.org>2024-03-11 15:54:01 -0700
commit84e95149bd341705f0eca6a7fcb955c548805002 (patch)
tree72c9f7385b67c3d49f3c1ed5486fd53851f01803 /MAINTAINERS
parent46590b545df636aea0f9f7f2100d9963c0af5824 (diff)
nfp: flower: handle acti_netdevs allocation failure
The kmalloc_array() in nfp_fl_lag_do_work() will return null, if the physical memory has run out. As a result, if we dereference the acti_netdevs, the null pointer dereference bugs will happen. This patch adds a check to judge whether allocation failure occurs. If it happens, the delayed work will be rescheduled and try again. Fixes: bb9a8d031140 ("nfp: flower: monitor and offload LAG groups") Signed-off-by: Duoming Zhou <duoming@zju.edu.cn> Reviewed-by: Louis Peens <louis.peens@corigine.com> Link: https://lore.kernel.org/r/20240308142540.9674-1-duoming@zju.edu.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions