Commit 6e4842dd authored by Thomas Falcon's avatar Thomas Falcon Committed by David S. Miller

ibmvnic: Fix NAPI structures memory leak

This memory is allocated during initialization but never freed,
so do that now.
Signed-off-by: default avatarThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 34f0f4e3
......@@ -825,6 +825,8 @@ static void release_resources(struct ibmvnic_adapter *adapter)
}
}
}
kfree(adapter->napi);
adapter->napi = NULL;
release_login_rsp_buffer(adapter);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment