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

Olivier Matz olivier.matz at 6wind.com
Fri Jun 30 16:27:05 CEST 2017


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>


More information about the dev mailing list