Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mbuf: check shared memory before dumping dynamic space
[ upstream commit d4902ed ] Because mbuf dyn shared memory was allocated runtime, so it's necessary to check validity when dump mbuf dyn info. Also this patch adds an error logging when init shared memory fail. Fixes: 4958ca3 ("mbuf: support dynamic fields and flags") Signed-off-by: Chengwen Feng <fengchengwen@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
- Loading branch information