commit | ac63990247fbd4104d54166455e35cd604596e5d | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Wed Oct 09 11:10:52 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 29 10:24:33 2020 +0100 |
tree | 90187a74ee607312264ce1bdceb3225a1e7228f8 | |
parent | 8b998543dcfd8c255ffae742cd7ea23771965f77 [diff] |
act_mirred: Fix mirred_init_module error handling [ Upstream commit 11c9a7d38af524217efb7a176ad322b97ac2f163 ] If tcf_register_action failed, mirred_device_notifier should be unregistered. Fixes: 3b87956ea645 ("net sched: fix race in mirred device removal") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Sasha Levin <sashal@kernel.org>