Skip to content

Commit

Permalink
[NETFILTER]: fix cut-and-paste error in exit functions
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
kaber authored and David S. Miller committed Oct 16, 2006
1 parent be60358 commit f64ad5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/netfilter/xt_NFQUEUE.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static int __init xt_nfqueue_init(void)

static void __exit xt_nfqueue_fini(void)
{
xt_register_targets(xt_nfqueue_target, ARRAY_SIZE(xt_nfqueue_target));
xt_unregister_targets(xt_nfqueue_target, ARRAY_SIZE(xt_nfqueue_target));
}

module_init(xt_nfqueue_init);
Expand Down
2 changes: 1 addition & 1 deletion net/netfilter/xt_connmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static int __init xt_connmark_init(void)

static void __exit xt_connmark_fini(void)
{
xt_register_matches(xt_connmark_match, ARRAY_SIZE(xt_connmark_match));
xt_unregister_matches(xt_connmark_match, ARRAY_SIZE(xt_connmark_match));
}

module_init(xt_connmark_init);
Expand Down

0 comments on commit f64ad5b

Please sign in to comment.