mirror of https://github.com/torvalds/linux.git
In function nfp_abm_vnic_set_mac, pointer nsp is allocated by nfp_nsp_open.
But when nfp_nsp_has_hwinfo_lookup fail, the pointer is not released,
which can lead to a memory leak bug. Fix this issue by adding
nfp_nsp_close(nsp) in the error path.
Fixes:
|
||
|---|---|---|
| .. | ||
| nfp | ||
| Kconfig | ||
| Makefile | ||