]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
cls_matchall: fix tcf_unbind_filter missing
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 14 Aug 2018 09:28:26 +0000 (17:28 +0800)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:42:22 +0000 (19:42 -0600)
commitadc8d0d1b90cdd8c0396a7a481f68cbba2db8a08
tree38fec28a33b3653aa6bfc17a818fd19a01063f0c
parentf975b14b7ce0cf180848a36c2a47b62d82619023
cls_matchall: fix tcf_unbind_filter missing

BugLink: https://bugs.launchpad.net/bugs/1835845
[ Upstream commit a51c76b4dfb30496dc65396a957ef0f06af7fb22 ]

Fix tcf_unbind_filter missing in cls_matchall as this will trigger
WARN_ON() in cbq_destroy_class().

Fixes: fd62d9f5c575f ("net/sched: matchall: Fix configuration race")
Reported-by: Li Shuang <shuali@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/sched/cls_matchall.c