From: Or Gerlitz <ogerl...@mellanox.com>
Date: Sun, 21 Oct 2018 14:05:49 +0300

> From: Dan Carpenter <dan.carpen...@oracle.com>
> 
> FDB_MAX_CHAIN is three.  We wanted to allocate enough memory to hold four
> structs but there are missing parentheses so we only allocate enough
> memory for three structs and the first byte of the fourth one.
> 
> Fixes: 328edb499f99 ("net/mlx5: Split FDB fast path prio to multiple 
> namespaces")
> Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com>
> Reviewed-by: Or Gerlitz <ogerl...@mellanox.com>

Applied to net-next.

Reply via email to