Yunjian Wang 710aa42790 net/tap: fix mbuf and mem leak during queue release
For the tap PMD, we should release mbufs and iovecs from the Rx queue
when closing device. In order to remove duplicated code,
rte_pmd_tap_remove() calls tap_dev_close().

Fixes: 0781f5762cfe ("net/tap: support segmented mbufs")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
2020-04-21 13:57:08 +02:00
..
2018-04-11 01:47:47 +02:00
2020-04-16 18:16:46 +02:00
2020-04-16 18:16:18 +02:00
2018-04-11 01:47:47 +02:00
2020-04-21 13:57:06 +02:00
2018-04-27 18:00:59 +01:00
2018-04-11 01:47:47 +02:00
2020-04-16 18:16:46 +02:00
2018-04-11 01:47:47 +02:00