forked from Minki/linux
ibmvnic: Fix NAPI structures memory leak
This memory is allocated during initialization but never freed, so do that now. Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
34f0f4e3f4
commit
6e4842ddfc
@ -825,6 +825,8 @@ static void release_resources(struct ibmvnic_adapter *adapter)
|
||||
}
|
||||
}
|
||||
}
|
||||
kfree(adapter->napi);
|
||||
adapter->napi = NULL;
|
||||
|
||||
release_login_rsp_buffer(adapter);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user