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: sta...@dpdk.org > > Signed-off-by: David Marchand <david.march...@redhat.com>
Acked-by: Ferruh Yigit <ferruh.yi...@intel.com>