05a8e4a35d
When setup tx queues, we will create a mempool for the 'gso_ctx'.
The mempool is not freed when closing tap device. If free the tap
device and create it with different name, it will create a new
mempool. This maybe cause an OOM.
The snprintf function return value is not checked and the mempool
name may be truncated. This patch also fix it.
Fixes:
|
||
---|---|---|
.. | ||
meson.build | ||
rte_eth_tap.c | ||
rte_eth_tap.h | ||
rte_pmd_tap_version.map | ||
tap_bpf_api.c | ||
tap_bpf_insns.h | ||
tap_bpf_program.c | ||
tap_bpf.h | ||
tap_flow.c | ||
tap_flow.h | ||
tap_intr.c | ||
tap_log.h | ||
tap_netlink.c | ||
tap_netlink.h | ||
tap_rss.h | ||
tap_tcmsgs.c | ||
tap_tcmsgs.h |