eth_memif_rx segfault when burst size is greater than 32
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: [email protected]
Reporter: [email protected]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
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=1273
JoyceKong ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|IN_PROGRESS |RESOLVED
Resolution|--- |FIXED--- Comment #5 from JoyceKong ([email protected]) ---
https://patches.dpdk.org/project/dpdk/patch/[email protected]/
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=1273
David Marchand ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |CONFIRMED
CC| |[email protected]--- Comment #6 from David Marchand ([email protected]) --- This patch is not merged.
Don't mark as resolved until the fix makes it into DPDK.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=1273
David Marchand ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|CONFIRMED |RESOLVED--- Comment #7 from David Marchand ([email protected]) --- Fixed in cd7b0da68287 ("net/memif: fix crash with large Rx burst").
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.