[dpdk-dev] [PATCH v2] mbuf: check sanity of data_len and pkt_len as well

Olivier MATZ olivier.matz at 6wind.com
Thu Dec 14 09:50:25 CET 2017


On Sun, Dec 10, 2017 at 12:39:18AM +0300, Ilya V. Matveychikov wrote:
> Update rte_mbuf_sanity_check() to check sanity of data_len and pkt_len
> fields. For segmented packets it is supposed that head's pkt_len field
> should be the sum of all segments data_len values.
> 
> Signed-off-by: Ilya V. Matveychikov <matvejchikov at gmail.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Thanks


More information about the dev mailing list