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

2020-06-26 Thread Jerin Jacob
On Mon, May 25, 2020 at 2:21 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] net/octeontx2: fix seg fault on running procinfo

2020-05-25 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 mememory. Fixes: 5ca59711f771 ("comm