[dpdk-dev] [PATCH] eventdev/eth_tx: fix queue_del function

2021-11-09 Thread Naga Harish K S V
This patch fixes heap-use-after-free reported by ASAN, please reference https://bugs.dpdk.org/show_bug.cgi?id=869 The application can use the queue_id as `-1` to delete all the queues of the eth_device that are added to tx_adapter instance. In above case, the queue_del api is trying to use number

Re: [dpdk-dev] [PATCH] eventdev/eth_tx: fix queue_del function

2021-11-09 Thread David Marchand
On Tue, Nov 9, 2021 at 10:24 AM Jayatheerthan, Jay wrote: > > -Original Message- > > From: Naga Harish K, S V > > Sent: Tuesday, November 9, 2021 1:04 PM > > To: jer...@marvell.com; Jayatheerthan, Jay > > Cc: dev@dpdk.org; sta...@dpdk.org > > Subject: [PATCH] eventdev/eth_tx: fix queue_d

Re: [dpdk-dev] [PATCH] eventdev/eth_tx: fix queue_del function

2021-11-09 Thread Jayatheerthan, Jay
+ David Marchand, who reported this issue. The change looks good to me. You can add my ack. > -Original Message- > From: Naga Harish K, S V > Sent: Tuesday, November 9, 2021 1:04 PM > To: jer...@marvell.com; Jayatheerthan, Jay > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] event

[dpdk-dev] [PATCH] eventdev/eth_tx: fix queue_del function

2021-11-08 Thread Naga Harish K S V
This patch fixes heap-use-after-free reported by ASAN, please reference https://bugs.dpdk.org/show_bug.cgi?id=869 The application can use the queue_id as `-1` to delete all the queues of the eth_device that are added to tx_adapter instance. In above case, the queue_del api is trying to use number