[dpdk-dev] [PATCH] net/enic: fix possible Rx corruption

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jul 22 00:46:47 CEST 2016


2016-07-19 15:42, John Daley:
> Initialize the mbuf data offset to RTE_PKTMBUF_HEADROOM as the
> enic takes ownership of them. If allocated mbufs had some offset
> other than RTE_PKTMBUF_HEADROOM, the application would read mbuf
> data starting at the wrong place and misinterpret the packet.
> 
> Fixes: 856d7ba7ed22 ("net/enic: support scattered Rx")
> 
> Reviewed-by: Nelson Escobar <neescoba at cisco.com>
> Signed-off-by: John Daley <johndale at cisco.com>

Applied, thanks


More information about the dev mailing list