[dpdk-stable] [PATCH] net/mlx5: fix refuse empty VLAN validation

Raslan Darawsheh rasland at nvidia.com
Sun Jan 24 11:44:06 CET 2021


Hi,

> -----Original Message-----
> From: Shiri Kuzin <shirik at nvidia.com>
> Sent: Tuesday, January 19, 2021 7:07 PM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Shahaf Shuler <shahafs at nvidia.com>; Raslan
> Darawsheh <rasland at nvidia.com>; stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix refuse empty VLAN validation
> 
> In verbs, an empty VLAN is equivalent to a packet without VLAN layer,
> hence, the VLAN item should not be empty and this case is rejected.
> 
> However, the case for ether type of VLAN without following VLAN item
> was not validated, allowing the creation of a flow with empty
> VLAN item.
> 
> To fix this issue a validation was added requiring ether type of VLAN
> will be followed with VLAN item.
> 
> Fixes: 0b1edd21cd78 ("net/mlx5: refuse empty VLAN flow specification")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Shiri Kuzin <shirik at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---

Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh


More information about the stable mailing list