diff options
-rw-r--r-- | net/ipv4/netfilter/ip_queue.c | 2 | ||||
-rw-r--r-- | net/ipv6/netfilter/ip6_queue.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/ip_queue.c b/net/ipv4/netfilter/ip_queue.c index cfc886f382ac..629de649f130 100644 --- a/net/ipv4/netfilter/ip_queue.c +++ b/net/ipv4/netfilter/ip_queue.c | |||
@@ -692,7 +692,7 @@ init_or_cleanup(int init) | |||
692 | return status; | 692 | return status; |
693 | 693 | ||
694 | cleanup: | 694 | cleanup: |
695 | nf_unregister_queue_handler(PF_INET); | 695 | nf_unregister_queue_handlers(&ipq_enqueue_packet); |
696 | synchronize_net(); | 696 | synchronize_net(); |
697 | ipq_flush(NF_DROP); | 697 | ipq_flush(NF_DROP); |
698 | 698 | ||
diff --git a/net/ipv6/netfilter/ip6_queue.c b/net/ipv6/netfilter/ip6_queue.c index 5af4cee93d9b..56ffec3568fa 100644 --- a/net/ipv6/netfilter/ip6_queue.c +++ b/net/ipv6/netfilter/ip6_queue.c | |||
@@ -687,7 +687,7 @@ init_or_cleanup(int init) | |||
687 | return status; | 687 | return status; |
688 | 688 | ||
689 | cleanup: | 689 | cleanup: |
690 | nf_unregister_queue_handler(PF_INET6); | 690 | nf_unregister_queue_handlers(&ipq_enqueue_packet); |
691 | synchronize_net(); | 691 | synchronize_net(); |
692 | ipq_flush(NF_DROP); | 692 | ipq_flush(NF_DROP); |
693 | 693 | ||