58c18bc114
When allocating a new mbuf for Rx, the value of m->data_off should be reset to its default value (RTE_PKTMBUF_HEADROOM), instead of reusing the previous undefined value, which could cause the packet to have a too small or too high headroom. Signed-off-by: Yangchao Zhou <zhouyates@gmail.com> Acked-by: Harish Patil <harish.patil@cavium.com>