[v4,0/5] fixes for tap

Message ID 1586604092-10476-1-git-send-email-wangyunjian@huawei.com (mailing list archive)


Yunjian Wang April 11, 2020, 11:21 a.m. UTC
  From: Yunjian Wang <wangyunjian@huawei.com>

This series include five fixes patches for tap PMD driver.

* Update some code suggested by Ferruh Yigit and Stephen Hemminger
* Update commit log
* Add fix leak of fds on failure
* Add fix close a vaild fd and netlink socket file descriptor check
  before close
* Add null check in tap_rxq_pool_free()

Yunjian Wang (5):
  net/tap: fix mbuf double free when writev fails
  net/tap: fix mbuf and mem leak during queue release
  net/tap: fix check for mbuf's nb_segs failure
  net/tap: fix close a valid fd
  net/tap: fix leak of fds on failure

 drivers/net/tap/rte_eth_tap.c | 102 ++++++++++++++++++++--------------
 1 file changed, 59 insertions(+), 43 deletions(-)