malloc: fix duplicate mem event notification
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 11 Dec 2018 16:48:28 +0000 (16:48 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Dec 2018 14:28:55 +0000 (15:28 +0100)
commitb3e735e16e07de79fb09dfb485eae2965c952d74
tree9611e65c6093562b76a11fda501b4ccd7896e2f3
parentfba0ca227453ee6a60f674884531fb3817ca8a17
malloc: fix duplicate mem event notification

We already trigger a mem event notification inside the walk function,
no need to do it twice.

Fixes: f32c7c9de961 ("malloc: enable event callbacks for external memory")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/rte_malloc.c