[dpdk-dev] [PATCH] mbuf: fix debug checks for headroom and tailroom

Thomas Monjalon thomas at monjalon.net
Sat Jul 1 12:18:50 CEST 2017


30/06/2017 16:27, Olivier Matz:
> On Wed, 28 Jun 2017 15:25:12 +0300, Vasily Philipov <vasilyf at mellanox.com> wrote:
> > rte_pktmbuf_headroom() and rte_pktmbuf_tailroom() should be usable
> > with any segment, not only with headered ones, so is_header should be 0
> > when we call for sanity check inside them.
> > 
> > Fixes: af75078fece3 ("first public release")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Vasily Philipov <vasilyf at mellanox.com>
> 
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Applied, thanks



More information about the dev mailing list