]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'vlan_act_modify'
authorDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 05:34:26 +0000 (01:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 05:34:26 +0000 (01:34 -0400)
commit6663c22b28f6de4504374f7377ef1999a0977780
tree342f1160ba3a5491dadba70104586cf9c69a083c
parent1d8b9106068f68545f0e363615e266575974e571
parent015d3edcb38a1d5188e60bf094fcc026fe35f4b6
Merge branch 'vlan_act_modify'

Shmulik Ladkani says:

====================
act_vlan: Introduce TCA_VLAN_ACT_MODIFY vlan action

TCA_VLAN_ACT_MODIFY allows one to change an existing tag.

It accepts same attributes as TCA_VLAN_ACT_PUSH (protocol, id,
priority).
If packet is vlan tagged, then the tag gets overwritten according to
user specified attributes.

For example, this allows user to replace a tag's vid while preserving
its priority bits (as opposed to "action vlan pop pipe action vlan push").
====================

Signed-off-by: David S. Miller <davem@davemloft.net>