[dpdk-stable] [PATCH] net/bnxt: fix headroom initialization

Luca Boccassi bluca at debian.org
Wed Feb 14 11:26:47 CET 2018


On Wed, 2018-02-14 at 09:39 +0100, Olivier Matz wrote:
> [ backported from upstream commit
> 35906acbf34daa32469fa63d759846057f36e6fb ]
> 
> When allocating a new mbuf for Rx, the value of m->data_off should
> not
> be reset to its default value (RTE_PKTMBUF_HEADROOM), instead of
> reusing
> the previous undefined value, which could cause the packet to have a
> too
> small or too high headroom.
> 
> Fixes: 2eb53b134aae ("net/bnxt: add initial Rx code")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
> ---
> 
> Hi Luca,
> 
> This patch is for the v16.11 stable branch.
> 
> Thanks,
> Olivier

Thank you very much, applied&pushed.

-- 
Kind regards,
Luca Boccassi


More information about the stable mailing list