Yunjian Wang
52b49ea06f
ethdev: fix Rx queue telemetry memory leak on failure
...
In eth_dev_handle_port_info() allocated memory for rxq_state,
we should free it when error happens, otherwise it will lead
to memory leak.
Fixes: 58b43c1ddfd1 ("ethdev: add telemetry endpoint for device info")
Cc: stable@dpdk.org
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2022-01-25 10:58:32 +01:00
..
2022-01-11 12:16:53 +01:00
2021-11-26 11:28:34 +01:00
2021-10-01 15:31:47 +02:00
2022-01-11 12:16:53 +01:00
2021-08-17 08:37:52 +02:00
2021-10-22 23:32:00 +02:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2021-11-03 15:50:14 +01:00
2022-01-11 12:16:53 +01:00
2022-01-28 12:06:26 +01:00
2021-10-22 22:40:59 +02:00
2022-01-25 10:58:32 +01:00
2022-01-23 16:29:43 +01:00
2022-01-11 12:16:53 +01:00
2021-10-22 22:40:59 +02:00
2022-01-21 11:33:25 +01:00
2021-10-22 22:40:59 +02:00
2021-10-08 14:58:11 +02:00
2021-10-24 13:37:43 +02:00
2021-11-17 18:33:33 +01:00
2021-11-26 11:28:34 +01:00
2022-01-11 12:16:53 +01:00
2021-10-22 22:40:59 +02:00
2021-11-08 11:56:13 +01:00
2021-09-30 17:38:13 +02:00
2021-08-17 08:37:52 +02:00
2021-10-25 19:08:16 +02:00
2022-01-11 12:16:53 +01:00
2021-10-22 22:40:59 +02:00
2021-10-25 16:52:56 +02:00
2021-08-17 08:37:52 +02:00
2021-11-10 16:23:05 +01:00
2022-01-11 12:16:53 +01:00
2021-11-16 17:57:09 +01:00
2021-10-31 23:25:02 +01:00
2021-10-01 13:09:43 +02:00
2021-11-03 12:53:03 +01:00
2022-01-11 12:16:53 +01:00
2021-11-17 10:29:14 +01:00
2022-01-11 12:16:53 +01:00
2021-11-26 11:28:34 +01:00
2021-11-16 17:57:09 +01:00
2022-01-11 12:16:53 +01:00
2021-10-22 22:40:59 +02:00
2021-11-16 17:57:09 +01:00
2022-01-11 12:16:53 +01:00
2022-01-11 12:16:53 +01:00
2021-11-04 19:46:27 +01:00
2021-10-19 17:15:10 +02:00
2022-01-11 12:16:53 +01:00
2022-01-11 12:16:53 +01:00
2021-08-17 08:37:52 +02:00
2022-01-11 12:16:53 +01:00
2022-01-21 06:09:00 -05:00