mbuf: fix init when private size is not zero
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 22 Apr 2015 09:57:21 +0000 (11:57 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 28 Apr 2015 09:18:21 +0000 (11:18 +0200)
commitb507905ff407f53ac87ec6c4a10a5f7000ecb062
tree2a8bbc5d2b2809aa9883694622e0f8842a61d6eb
parentc511a96a34d7c3e6954c1a634bae5e7208b7b3f2
mbuf: fix init when private size is not zero

Allow the user to use the default rte_pktmbuf_init() function even
if the mbuf private size is not 0.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_mbuf/rte_mbuf.c