git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b1249d
)
net/memif: fix resource leak
author
Vadim Podovinnikov
<podovinnikov@protei.ru>
Sat, 4 Apr 2020 10:15:57 +0000
(13:15 +0300)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:06 +0000
(13:57 +0200)
Fixes:
c41a04958b09
("net/memif: support multi-process")
Cc: stable@dpdk.org
Signed-off-by: Vadim Podovinnikov <podovinnikov@protei.ru>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/memif/rte_eth_memif.c
patch
|
blob
|
history
diff --git
a/drivers/net/memif/rte_eth_memif.c
b/drivers/net/memif/rte_eth_memif.c
index
81d71c5
..
653ffa9
100644
(file)
--- a/
drivers/net/memif/rte_eth_memif.c
+++ b/
drivers/net/memif/rte_eth_memif.c
@@
-1510,7
+1510,7
@@
memif_create(struct rte_vdev_device *vdev, enum memif_role_t role,
}
- eth_dev->data->dev_flags
&
= RTE_ETH_DEV_CLOSE_REMOVE;
+ eth_dev->data->dev_flags
|
= RTE_ETH_DEV_CLOSE_REMOVE;
rte_eth_dev_probing_finish(eth_dev);