examples/l3fwd: fix crash with IPv6
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 3 Nov 2015 20:13:48 +0000 (20:13 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Dec 2015 02:21:13 +0000 (03:21 +0100)
commit3edf8754d8d46394da06de6bc678bd3125b5a3c1
treec8d37e357243dab611edf5339b0f2a900890e89c
parent6f8cfdb1b9c3a5b95b15f1899ed254bdb0036638
examples/l3fwd: fix crash with IPv6

Lookup burst size was changed for exact match
from 4 to 8, for both ipv4 and ipv6, but actually only
4 keys were being looked up for ipv6, instead of 8,
causing random segmentation faults.

Fixes: 80fcb4d4 ("examples/l3fwd: increase lookup burst size to 8")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
doc/guides/rel_notes/release_2_2.rst
examples/l3fwd/main.c