Re: [dpdk-dev] [PATCH v2] common/mlx5: fix netlink buffer allocation from stack

2020-05-17 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Viacheslav Ovsiienko > Sent: Thursday, May 14, 2020 10:11 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; step...@networkplumber.org; Nélio Laranjeiro > ; sta...@dpdk.org > Subject: [PATCH v2] common/mlx5: fix netlink buffer allocation from

Re: [dpdk-dev] [PATCH v2] common/mlx5: fix netlink buffer allocation from stack

2020-05-17 Thread Matan Azrad
From: Viacheslav Ovsiienko > The buffer size to receive netlink reply messages is relatively large (32K), > and > it is allocated on the stack and it might break in application is using > smaller > per-thread stacks. > This patch allocates temporary buffer from heap. > > Fixes: ccdcba53a3f4 (