Thread (6 messages) 6 messages, 3 authors, 2021-06-02

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

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help