Skip to contentSkip to conversation

igb: segfault in rte_eth_tx_done_cleanup() when using advanced descriptors

dpdk-dev [email protected] 1 participant 1 message Jul 5, 2020

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 501
           Summary: igb: segfault in rte_eth_tx_done_cleanup() when using
                    advanced descriptors
           Product: DPDK
           Version: 19.05
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

For advanced descriptors the eth_igb_xmit_pkts() function is using one additional TX ring descriptor entry but is not setting txe->mbuf. This gives segfault in igb_tx_done_cleanup() as sw_ring[tx_id].mbuf is not checked before calling rte_pktmbuf_free_seg().

Driver code did't changed much since v19.05 so I think that the bug is still present.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.