[dpdk-dev] [Bug 501] igb: segfault in rte_eth_tx_done_cleanup() when using advanced descriptors

bugzilla at dpdk.org bugzilla at dpdk.org
Sun Jul 5 13:23:52 CEST 2020


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: dev at dpdk.org
          Reporter: pawelwod at gmail.com
  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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list