]> 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)
commitca2f23b7556fc799862268d260804edf27a5f0b4
tree5db1b5875f9b62359f413150df1df870dbc2136c
parent1364d207449467456cfb47d73831b1c4f88ce073
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