]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: implement functions to put and flush all chains
authorVlad Buslov <vladbu@mellanox.com>
Mon, 24 Sep 2018 16:22:55 +0000 (19:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Sep 2018 03:17:36 +0000 (20:17 -0700)
commit2696ba307ffceae182adbab002dc5c45f1cbde0a
tree5db1b5875f9b62359f413150df1df870dbc2136c
parent5a755d06ae491845a35c327b546657f51996c7f5
net: sched: implement functions to put and flush all chains

Extract code that flushes and puts all chains on tcf block to two
standalone function to be shared with functions that locklessly get/put
reference to block.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c