Re: [dpdk-dev] [PATCH] bus/vmbus: fix resource leak on error

2019-04-22 Thread Thomas Monjalon
17/04/2019 20:45, Stephen Hemminger: > If secondary process attempt to mmap the resource resulted in > the wrong address, then it would leave behind the bad mmap. > > Coverity issue: 337675, 337664 > Signed-off-by: Stephen Hemminger Fixes: 2a28a502c607 ("bus/vmbus: map ring in secondary process"

[dpdk-dev] [PATCH] bus/vmbus: fix resource leak on error

2019-04-17 Thread Stephen Hemminger
If secondary process attempt to mmap the resource resulted in the wrong address, then it would leave behind the bad mmap. Coverity issue: 337675, 337664 Signed-off-by: Stephen Hemminger --- drivers/bus/vmbus/linux/vmbus_uio.c | 4 +++- drivers/bus/vmbus/vmbus_common_uio.c | 4 +++- 2 files chan