f3013acfc1
In hn_dev_tx_queue_setup() allocated memory for txq, we don't free it
when error happens and it will lead to memory leak.
We can check for tx_free_thresh at the beginning of the function to
fix it, before calling txq = rte_zmalloc_socket().
Fixes:
|
||
---|---|---|
.. | ||
hn_ethdev.c | ||
hn_logs.h | ||
hn_nvs.c | ||
hn_nvs.h | ||
hn_rndis.c | ||
hn_rndis.h | ||
hn_rxtx.c | ||
hn_var.h | ||
hn_vf.c | ||
meson.build | ||
ndis.h | ||
rndis.h | ||
rte_pmd_netvsc_version.map |