Re: [dpdk-dev] [PATCH] net/mlx5: fix segfault due to array overflow

2017-11-02 Thread Ferruh Yigit
On 11/2/2017 6:30 AM, Nelio Laranjeiro wrote: > VLAN id is limited to MLX5_MAX_VLAN_IDS which is not verified by the code > before trying to add a new VLAN filter. > > Fixes: 272733b5ebfd ("net/mlx5: use flow to enable unicast traffic") > > Signed-off-by: Nelio Laranjeiro Applied to dpdk-next-n

[dpdk-dev] [PATCH] net/mlx5: fix segfault due to array overflow

2017-11-02 Thread Nelio Laranjeiro
VLAN id is limited to MLX5_MAX_VLAN_IDS which is not verified by the code before trying to add a new VLAN filter. Fixes: 272733b5ebfd ("net/mlx5: use flow to enable unicast traffic") Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_vlan.c | 8 +++- 1 file changed, 7 insertions(+),