DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 384] netvsc PMD crashes in secondary process in dev_info_get
@ 2020-01-10 22:36 bugzilla
  2020-03-16 23:58 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2020-01-10 22:36 UTC (permalink / raw)
  To: dev

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

            Bug ID: 384
           Summary: netvsc PMD crashes in secondary process in
                    dev_info_get
           Product: DPDK
           Version: 19.08
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: stephen@networkplumber.org
  Target Milestone: ---

Call rte_ethdev_dev_info_get in a secondary process will crash with netvsc PMD.

The data structure mapping for the vmbus is not mapped at same address.
It is crashing here because hv->vmbus is not the correct in secondary.

static void *hn_rndis_alloc(struct hn_data *hv, size_t size)
{
        return rte_zmalloc_socket("RNDIS", size, PAGE_SIZE,
                                 hv->vmbus->device.numa_node);
}

The numa_node is not needed for control messages.
But fixing that just exposes the next crash when sending the control message.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-dev] [Bug 384] netvsc PMD crashes in secondary process in dev_info_get
  2020-01-10 22:36 [dpdk-dev] [Bug 384] netvsc PMD crashes in secondary process in dev_info_get bugzilla
@ 2020-03-16 23:58 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2020-03-16 23:58 UTC (permalink / raw)
  To: dev

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

Stephen Hemminger (stephen@networkplumber.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Stephen Hemminger (stephen@networkplumber.org) ---
Fixed in 20.02 by 
7214dda61361 ("net/netvsc: eliminate NUMA specific allocation")

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-16 23:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 22:36 [dpdk-dev] [Bug 384] netvsc PMD crashes in secondary process in dev_info_get bugzilla
2020-03-16 23:58 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).