[dpdk-dev] [PATCH V3 1/1] net/mlx5: fix IPv6 next proto validation
Ferruh Yigit
ferruh.yigit at intel.com
Thu Oct 22 18:38:43 CEST 2020
On 10/22/2020 11:01 AM, Raslan Darawsheh wrote:
> Hi,
>
>> -----Original Message-----
>> From: Eli Britstein <elibr at nvidia.com>
>> Sent: Thursday, October 22, 2020 11:26 AM
>> To: dev at dpdk.org
>> Cc: Dekel Peled <dekelp at nvidia.com>; Ori Kam <orika at nvidia.com>; Matan
>> Azrad <matan at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>; Slava
>> Ovsiienko <viacheslavo at nvidia.com>; Shahaf Shuler <shahafs at nvidia.com>;
>> Asaf Penso <asafp at nvidia.com>; Eli Britstein <elibr at nvidia.com>
>> Subject: [PATCH V3 1/1] net/mlx5: fix IPv6 next proto validation
>>
>> Previous patch added validation of the IPv6 next proto field, in order
>> to overcome a known limitation.
>> One of the values checked is IPPROTO_HOPOPTS, which is defined as 0.
>> If proto field is not specified for matching, or mask=0, as in the
>> following, a wrong validation takes place.
>> flow create 0 ingress pattern eth / ipv6 has_frag_ext is 0 / end actions
>> drop / end
>> Fix the validation only on proto asked by the user.
>>
>> Fixes: 92be60e1b541 ("net/mlx5: enforce limitation on IPv6 next proto")
>>
>> Signed-off-by: Eli Britstein <elibr at nvidia.com>
>> Acked-by: Dekel Peled <dekelp at nvidia.com>
>> Acked-by: Matan Azrad <matan at nvidia.com>
>
>
> Patch applied to next-net-mlx,
>
Squashed into relevant commit in next-net, thanks.
More information about the dev
mailing list