[dpdk-stable] [PATCH 1/3] net/pcap: fix Rx with small buffers
    Ferruh Yigit 
    ferruh.yigit at intel.com
       
    Wed Jul 24 20:28:02 CEST 2019
    
    
  
On 7/24/2019 12:54 PM, David Marchand wrote:
> If the pkt pool contains only buffers smaller than the default headroom,
> then the driver will compute an invalid buffer size (negative value cast
> to an uint16_t).
> Rely on the mbuf api to check how much space is available in the mbuf.
> 
> Fixes: 6eb0ae218a98 ("pcap: fix mbuf allocation")
> Cc: stable at dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>
    
    
More information about the stable
mailing list