[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 10:31:13 CET 2017

On Thu, Dec 14, 2017 at 09:50:25AM +0100, Olivier MATZ wrote:
> 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

Just realized the title does not match ./devtools/check-git-log.sh
constraints. I suggest instead:

  mbuf: check sanity of data and packet lengths

More information about the dev mailing list