diff options
author | David S. Miller <davem@davemloft.net> | 2016-05-11 05:50:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-11 05:50:16 +0200 |
commit | 6e14313f01f02f324d5dd68a49d34ec1e4bb569e (patch) | |
tree | 9df50855210ff3adbf60291dfba1ea284370d9e0 /net/ipv4 | |
parent | net: phylib: fix interrupts re-enablement in phy_start (diff) | |
parent | net sched: ife action fix late binding (diff) | |
download | linux-6e14313f01f02f324d5dd68a49d34ec1e4bb569e.tar.xz linux-6e14313f01f02f324d5dd68a49d34ec1e4bb569e.zip |
Merge branch 'net-sched-fixes'
Jamal Hadi Salim says:
====================
Some actions were broken in allowing for late binding of actions.
Late binding workflow is as follows:
a) create an action and provide all necessary parameters for it
Optionally provide an index or let the kernel give you one.
Example:
sudo tc actions add action police rate 1kbit burst 90k drop index 1
b) later on bind to the pre-created action from a filter definition
by merely specifying the index.
Example:
sudo tc filter add dev lo parent ffff: protocol ip prio 8 \
u32 match ip src 127.0.0.8/32 flowid 1:8 action police index 1
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions