Re: [dpdk-dev] [PATCH v2] common/octeontx2: fix seg fault on running procinfo

2020-06-30 Thread Jerin Jacob
On Mon, Jun 29, 2020 at 6:56 PM Harman Kalra wrote: > > Segmentation fault has been observed while running procinfo > with reset options i.e. --stats-reset and --xstats-reset. > Reason is procinfo runs as a secondary process and tries to > hold a lock which is part of struct mdev, which was not >

[dpdk-dev] [PATCH v2] common/octeontx2: fix seg fault on running procinfo

2020-06-29 Thread Harman Kalra
Segmentation fault has been observed while running procinfo with reset options i.e. --stats-reset and --xstats-reset. Reason is procinfo runs as a secondary process and tries to hold a lock which is part of struct mdev, which was not allocated as part of shared memory. Fixes: 5ca59711f771 ("common