malloc: fix IPC message initialization
The memset size for an IPC message is set incorrectly. Fix it to cover the entire IPC message. Fixes: 07dcbfe0101f ("malloc: support multiprocess memory hotplug") Cc: stable@dpdk.org Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
This commit is contained in:
parent
b8a86c83e0
commit
3660216ef1
@ -501,7 +501,7 @@ handle_rollback_response(const struct rte_mp_msg *request,
|
||||
/* lock the request */
|
||||
pthread_mutex_lock(&mp_request_list.lock);
|
||||
|
||||
memset(&msg, 0, sizeof(0));
|
||||
memset(&msg, 0, sizeof(msg));
|
||||
|
||||
entry = find_request_by_id(mpreq->id);
|
||||
if (entry == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user