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

Thomas Monjalon thomas at monjalon.net
Fri Jan 12 00:23:53 CET 2018


14/12/2017 10:31, Olivier MATZ:
> 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

Applied, thanks


More information about the dev mailing list