]> git.hungrycats.org Git - linux/commit
cls_matchall: fix tcf_unbind_filter missing
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 14 Aug 2018 09:28:26 +0000 (17:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Aug 2018 05:43:44 +0000 (07:43 +0200)
commitb1246ef7cf01b07b28b0110402c6fc154f7bccea
tree02ee97153b3977a51e1535e801096038988db975
parentffbc6163fca7a8fe81a053f81bb0530a87b3f49a
cls_matchall: fix tcf_unbind_filter missing

[ 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>
net/sched/cls_matchall.c