numam-dpdk/drivers/net/tap
Yunjian Wang c5f9911d34 net/tap: fix memory leak when unregister intr handler
The return check of function tap_lsc_intr_handle_set() is wrong, it should
be 0 or a positive number if success. So the intr_handle->intr_vec was not
been freed when tap_lsc_intr_handle_set() returned a positive number.

Fixes: 4870a8cdd9 ("net/tap: support Rx interrupt")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-02-05 09:51:19 +01:00
..
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
rte_eth_tap.c net/tap: fix memory leak when unregister intr handler 2020-02-05 09:51:19 +01:00
rte_eth_tap.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
rte_pmd_tap_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
tap_bpf_api.c
tap_bpf_insns.h add missing static keyword to globals 2018-10-29 02:01:08 +01:00
tap_bpf_program.c net/tap: revert rte prefixing 2019-06-03 16:54:43 +02:00
tap_bpf.h
tap_flow.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
tap_flow.h
tap_intr.c net/tap: move fds of queues to be in process private 2018-10-26 22:14:05 +02:00
tap_log.h
tap_netlink.c net/tap: fix file descriptor leak on error 2018-11-14 02:14:09 +01:00
tap_netlink.h
tap_rss.h
tap_tcmsgs.c net/tap: fix possible uninitialized variable access 2018-12-21 16:22:41 +01:00
tap_tcmsgs.h