0809d870fc
rte_pmd_tun/tap_probe() allocates pmd->intr_handle in eth_dev_tap_create()
and it should not be freed until rte_pmd_tap_remove() is called.
Inspection of tap_rx_intr_vec_set() shows that the call to
tap_tx_intr_vec_uninstall() was calling rte_intr_instance_free() but
tap_tx_intr_vec_install() can then be immediately called, and this then
uses pmd->intr_handle without it being reallocated.
Move rte_intr_instance_free() call from tap_tx_intr_vec_uninstall()
to rte_pmd_tap_remove().
Fixes:
|
||
---|---|---|
.. | ||
meson.build | ||
rte_eth_tap.c | ||
rte_eth_tap.h | ||
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 | ||
version.map |