From: David S. Miller Date: Wed, 11 May 2016 03:50:16 +0000 (-0400) Subject: Merge branch 'net-sched-fixes' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6e14313f01f02f324d5dd68a49d34ec1e4bb569e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 6e14313f01f02f324d5dd68a49d34ec1e4bb569e