]> 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)
commit684dfa44218a51254cfaa1c7da99752bae16b5dd
tree342f1160ba3a5491dadba70104586cf9c69a083c
parent1e51327f63e623780528ef6e9c61ed3900d6f0fa
parent067c2a099ad01579ecb1fc13fb58a34dad22f8ae
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>