> > Normally, bufs[i] stores the mbuf pointer, the index of buf[i]
> > is the loop count i, but if header.len > buf_size, DPDK will
> > free the mbuf, but the loop count i still increases, so some
> > of the items in bufs[] might be NULL ponter, causing a potential
> > DPDK core. Using num_rx as th
at dpdk.org
> Subject: [dpdk-dev] [PATCH] pcap: Fixed bug in eth_pcap_rx function
>
> Normally, bufs[i] stores the mbuf pointer, the index of buf[i]
> is the loop count i, but if header.len > buf_size, DPDK will
> free the mbuf, but the loop count i still increases, so some
> of
Normally, bufs[i] stores the mbuf pointer, the index of buf[i]
is the loop count i, but if header.len > buf_size, DPDK will
free the mbuf, but the loop count i still increases, so some
of the items in bufs[] might be NULL ponter, causing a potential
DPDK core. Using num_rx as the index for bufs[] s
3 matches
Mail list logo