Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9481721b authored by Eric Dumazet's avatar Eric Dumazet Committed by Patrick McHardy
Browse files

netfilter: remove synchronize_net() calls in ip_queue/ip6_queue



nf_unregister_queue_handlers() already does a synchronize_rcu()
call, we dont need to do it again in callers.

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent aa3c487f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -622,7 +622,7 @@ cleanup_ipqnl: __maybe_unused
static void __exit ip_queue_fini(void)
{
	nf_unregister_queue_handlers(&nfqh);
	synchronize_net();

	ipq_flush(NULL, 0);

#ifdef CONFIG_SYSCTL
+1 −1
Original line number Diff line number Diff line
@@ -625,7 +625,7 @@ cleanup_ipqnl: __maybe_unused
static void __exit ip6_queue_fini(void)
{
	nf_unregister_queue_handlers(&nfqh);
	synchronize_net();

	ipq_flush(NULL, 0);

#ifdef CONFIG_SYSCTL