Re: [PATCH] netfilter: nf_tables: replace built-in tables by chain types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pablo,

Don't know why, but git cannot apply properly the patch at once. Though, nothing seems to prevent such thing.
Anyway:

@@ -1807,6 +1793,10 @@ static int __init nf_tables_module_init(void)
  	if (err<  0)
  		goto err2;

+	nft_register_chain_type(&filter_ipv4);
+	nft_register_chain_type(&filter_ipv6);
+	nft_register_chain_type(&filter_bridge);
+
  	pr_info("nf_tables: (c) 2007-2009 Patrick McHardy<kaber@xxxxxxxxx>\n");
  	return 0;

@@ -1818,6 +1808,9 @@ err1:

  static void __exit nf_tables_module_exit(void)
  {
+	nft_unregister_chain_type(&filter_ipv4);
+	nft_unregister_chain_type(&filter_ipv6);
+	nft_unregister_chain_type(&filter_bridge);
  	nfnetlink_subsys_unregister(&nf_tables_subsys);
  	nf_tables_core_module_exit();
  }
--

filter_bridge declaration is missing.

Tomasz
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux