Re: [dpdk-dev] [PATCH 1/3] net/mlx5: fix buffer allocation check in rule cleanup

2018-11-11 Thread Yongseok Koh
> On Nov 10, 2018, at 1:59 AM, Slava Ovsiienko wrote: > > The Netlink message buffer is allocated and there is the typo, > the other pointer is checked instead of returned one. If no > memory is allocated and NULL is returned by allocation routine > the bug causes segmentation fault. The patch

[dpdk-dev] [PATCH 1/3] net/mlx5: fix buffer allocation check in rule cleanup

2018-11-10 Thread Slava Ovsiienko
The Netlink message buffer is allocated and there is the typo, the other pointer is checked instead of returned one. If no memory is allocated and NULL is returned by allocation routine the bug causes segmentation fault. The patch fixes typo, returned pointer is validated. Fixes: f420f03d6772 ("ne