]> git.ipfire.org Git - thirdparty/kernel/stable.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)
commitf00234367b64503d2436bb3d0f37bbe98ac2cc97
tree5db1b5875f9b62359f413150df1df870dbc2136c
parentcfebd7e242d7193a9901222b3e667788810d98c1
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