eal: check peer allocation in multi-process request
authorGao Feng <davidfgao@tencent.com>
Wed, 5 Dec 2018 06:19:24 +0000 (14:19 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Dec 2018 23:01:28 +0000 (00:01 +0100)
commit32fa7f8913930be9bb44995e391b5c6b2a88efb6
tree24780f8a83c5dbaa921f77c2e433e3fb4f9beaee
parente14bc93e8f231455ac7ffb45189f8dedcc45276d
eal: check peer allocation in multi-process request

Add the check for null peer pointer like the bundle pointer in the mp request
handler. They should follow same style. And add some logs for nomem cases.

Signed-off-by: Gao Feng <davidfgao@tencent.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/hotplug_mp.c