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 ("net/mlx5: use Netlink to add/remove MAC addresses")
> Cc: [email protected]
> Cc: [email protected]
> 
> Reported-by: Stephen Hemminger <[email protected]>
> Signed-off-by: Viacheslav Ovsiienko <[email protected]>
Acked-by: Matan Azrad <[email protected]>

Reply via email to