If the dev was already probed correctly, the dev attached flag should be set to true, or resource would leak during destruct.
Signed-off-by: Zhike Wang <[email protected]> --- lib/netdev-dpdk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index a65540c..10e2fe9 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -1728,6 +1728,9 @@ netdev_dpdk_process_devargs(struct netdev_dpdk *dev, new_port_id = DPDK_ETH_PORT_ID_INVALID; } } + } else { + dev->attached = true; + VLOG_INFO("Device '%s' attached to DPDK", devargs); } } -- 1.8.3.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
