diff options
author | Jamal Hadi Salim <[email protected]> | 2016-05-10 16:49:26 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-05-10 23:50:15 -0400 |
commit | 5026c9b1bafcb309bf467b60494b3bcd6364b99c (patch) | |
tree | 3b24c8fe8b2edaa43e02234b8098432aa154c8d3 /tools/perf/util/trace-event-scripting.c | |
parent | 84a527a41f38a80353f185d05e41b021e1ff672b (diff) |
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 <[email protected]>
Reviewed-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions