diff options
author | Jamal Hadi Salim <jhs@mojatatu.com> | 2016-05-10 20:49:26 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-11 03:50:15 (GMT) |
commit | 5026c9b1bafcb309bf467b60494b3bcd6364b99c (patch) | |
tree | 3b24c8fe8b2edaa43e02234b8098432aa154c8d3 /net/mpls | |
parent | 84a527a41f38a80353f185d05e41b021e1ff672b (diff) | |
download | linux-5026c9b1bafcb309bf467b60494b3bcd6364b99c.tar.xz |
net sched: vlan action fix late binding
Late vlan action binding was broken and is fixed with this patch.
//add a vlan action to pop and give it an instance id of 1
sudo tc actions add action vlan pop index 1
//create filter which binds to vlan action id 1
sudo tc filter add dev $DEV parent ffff: protocol ip prio 1 u32 \
match ip dst 17.0.0.1/32 flowid 1:1 action vlan index 1
current message(before bug fix) was:
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls')
0 files changed, 0 insertions, 0 deletions