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)
commit1fbafcb84747d0784fe928bedc4189f47d18ad8f
tree342f1160ba3a5491dadba70104586cf9c69a083c
parent688dc5369a6311c4d60f8908698c1999910d659f
parent45a497f2d149a4a8061c61518a79d59f1f3034b2
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>