diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2021-12-10 13:47:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-14 12:18:05 +0300 |
commit | ae214e04b95ff64a4b0e9aab6742520bfde6ff0c (patch) | |
tree | b4225dbfa2b9a2bda5d73daf9b1c42262520a65d /samples/bpf/Makefile | |
parent | da1d324088c40fa0a382224c466175fc5c704106 (diff) | |
download | linux-ae214e04b95ff64a4b0e9aab6742520bfde6ff0c.tar.xz |
net: sched: use Qdisc rcu API instead of relying on rtnl lock
[ Upstream commit e368fdb61d8e7c67ac70791b23345b26d7bbc661 ]
As a preparation from removing rtnl lock dependency from rules update path,
use Qdisc rcu and reference counting capabilities instead of relying on
rtnl lock while working with Qdiscs. Create new tcf_block_release()
function, and use it to free resources taken by tcf_block_find().
Currently, this function only releases Qdisc and it is extended in next
patches in this series.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[Lee: Sent to Stable]
Link: https://syzkaller.appspot.com/bug?id=d7e411c5472dd5da33d8cc921ccadc747743a568
Reported-by: syzbot+5f229e48cccc804062c0@syzkaller.appspotmail.com
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/bpf/Makefile')
0 files changed, 0 insertions, 0 deletions