Re: [PATCH] net/mlx5: Allocate enough space for the FDB sub-namespaces

2018-10-22 Thread David Miller
From: Or Gerlitz Date: Sun, 21 Oct 2018 14:05:49 +0300 > From: Dan Carpenter > > 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. > >

Re: [PATCH] net/mlx5: Allocate enough space for the FDB sub-namespaces

2018-10-21 Thread Or Gerlitz
On Sun, Oct 21, 2018 at 2:47 PM Or Gerlitz wrote: > > From: Dan Carpenter > > 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

[PATCH] net/mlx5: Allocate enough space for the FDB sub-namespaces

2018-10-21 Thread Or Gerlitz
From: Dan Carpenter 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