examples: always initialize mbuf pool private area
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 22 Apr 2015 09:57:19 +0000 (11:57 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Apr 2015 21:06:51 +0000 (23:06 +0200)
commit0a0dfd40ed01e3466102170464804b633a4082de
treeb47b956a0ad5f8d1b650deb6b56c04d203399224
parent1d493a49490fa90e09689d49280cff0d51d0193e
examples: always initialize mbuf pool private area

The mbuf pool private area must always be populated in a mbuf pool.
The applications or drivers may expect that for a mbuf pool, the mbuf
pool private area (mbuf_data_room_size and mbuf_priv_size) are
properly filled.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
examples/ip_fragmentation/main.c
examples/ip_pipeline/init.c
examples/ipv4_multicast/main.c