ip_frag: fix IP reassembly regression
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Sun, 6 Nov 2016 17:16:14 +0000 (12:16 -0500)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Nov 2016 20:27:50 +0000 (21:27 +0100)
commit91cd905af929ca11ab2b10406fc2d7413dc30e41
tree8e111fe5321d405237eca7673dfe2bb1798c7640
parent9ed2c8a299e0840a341c2d5e347822a782da746c
ip_frag: fix IP reassembly regression

After changing pkt[0] to pkt[], the example IP reassembly is not working.
It's weird because this change is fine. There should be no difference
between them.
As a workaround, revert this change.

Fixes: 347a1e037fd3 ("lib: use C99 syntax for zero-size arrays")

Reported-by: Huilong Xu <huilongx.xu@intel.com>
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
lib/librte_ip_frag/rte_ip_frag.h