[Bug 1273] eth_memif_rx segfault when burst size is greater than 32

bugzilla at dpdk.org bugzilla at dpdk.org
Mon Aug 14 17:26:03 CEST 2023


https://bugs.dpdk.org/show_bug.cgi?id=1273

            Bug ID: 1273
           Summary: eth_memif_rx segfault when burst size is greater than
                    32
           Product: DPDK
           Version: 23.03
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev at dpdk.org
          Reporter: sunnylandh at gmail.com
  Target Milestone: ---

When rte_eth_rx_burst() is called on an memif device with a burst size greater
than 32, there's a segfault in eth_memif_rx() function.

  Thread 1 "x" received signal SIGSEGV, Segmentation fault.
  0x00007ffff7a116d1 in eth_memif_rx (queue=0x1b73051c0, bufs=0x7fffffffd320,
nb_pkts=<optimized out>) at ../drivers/net/memif/rte_eth_memif.c:360
  360                             mbuf = mbuf_head;
  (gdb) bt
  #0  0x00007ffff7a116d1 in eth_memif_rx (queue=0x1b73051c0,
bufs=0x7fffffffd320, nb_pkts=<optimized out>) at
../drivers/net/memif/rte_eth_memif.c:360
  #1  0x000055555555554e in rte_eth_rx_burst (nb_pkts=<optimized out>,
rx_pkts=0x7fffffffd220, queue_id=0, port_id=0) at
/usr/local/include/rte_ethdev.h:5918
  #2  rxloop (queue=0, mp=<optimized out>, burstSize=<optimized out>, port=0)
at x.c:51
  #3  main (argc=<optimized out>, argv=<optimized out>) at x.c:103

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20230814/6bfe9295/attachment.htm>


More information about the dev mailing list