Re: [PATCH net-next v4 0/3] net/sched: act_vlan: Fix modify to allow 0
From: Davide Caratti <hidden>
Date: 2021-06-01 12:49:50
Also in:
linux-kselftest
From: Davide Caratti <hidden>
Date: 2021-06-01 12:49:50
Also in:
linux-kselftest
On Tue, Jun 01, 2021 at 03:30:49PM +0300, Boris Sukholitko wrote:
Currently vlan modification action checks existence of vlan priority by comparing it to 0. Therefore it is impossible to modify existing vlan tag to have priority 0.
[...]
Change Log: v3 -> v4: - revert tcf_vlan_get_fill_size change: total size calculation may race vs dump v2 -> v3: - Push assumes that the priority is being set - tcf_vlan_get_fill_size accounts for priority existence v1 -> v2: - Do not dump unset priority and fix tests accordingly - Test for priority 0 modification
Reviewed-by: Davide Caratti <redacted>