Re: [PATCH] devargs: fix leak on hotplug failure

2022-05-19 Thread David Marchand
On Thu, May 12, 2022 at 9:06 AM David Marchand wrote: > On Thu, Apr 14, 2022 at 1:28 PM David Marchand > wrote: > > > > Caught by ASan, if a secondary process tried to attach a device with an > > incorrect driver name, devargs was leaked. > > > > Fixes: 64051bb1f144 ("devargs: unify scratch buffe

Re: [PATCH] devargs: fix leak on hotplug failure

2022-05-12 Thread David Marchand
On Thu, Apr 14, 2022 at 1:28 PM David Marchand wrote: > > Caught by ASan, if a secondary process tried to attach a device with an > incorrect driver name, devargs was leaked. > > Fixes: 64051bb1f144 ("devargs: unify scratch buffer storage") > Cc: sta...@dpdk.org > > Signed-off-by: David Marchand

[PATCH] devargs: fix leak on hotplug failure

2022-04-14 Thread David Marchand
Caught by ASan, if a secondary process tried to attach a device with an incorrect driver name, devargs was leaked. Fixes: 64051bb1f144 ("devargs: unify scratch buffer storage") Cc: sta...@dpdk.org Signed-off-by: David Marchand --- lib/eal/common/eal_common_dev.c | 4 +++- 1 file changed, 3 inse