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

Commit e5531166 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso
Browse files

netfilter: remove messages print and boot/module load time



Several reasons for this:

* Several modules maintain internal version numbers, that they print at
  boot/module load time, that are not exposed to userspace, as a
  primitive mechanism to make revision number control from the earlier
  days of Netfilter.

* IPset shows the protocol version at boot/module load time, instead
  display this via module description, as Jozsef suggested.

* Remove copyright notice at boot/module load time in two spots, the
  Netfilter codebase is a collective development effort, if we would
  have to display copyrights for each contributor at boot/module load
  time for each extensions we have, we would probably fill up logs with
  lots of useless information - from a technical standpoint.

So let's be consistent and remove them all.

Acked-by: default avatarFlorian Westphal <fw@strlen.de>
Acked-by: default avatarJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 0e839dfa
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2445,7 +2445,6 @@ static int __init ebtables_init(void)
		return ret;
	}

	printk(KERN_INFO "Ebtables v2.0 registered\n");
	return 0;
}

@@ -2453,7 +2452,6 @@ static void __exit ebtables_fini(void)
{
	nf_unregister_sockopt(&ebt_sockopts);
	xt_unregister_target(&ebt_standard_target);
	printk(KERN_INFO "Ebtables v2.0 unregistered\n");
}

EXPORT_SYMBOL(ebt_register_table);
+0 −1
Original line number Diff line number Diff line
@@ -1656,7 +1656,6 @@ static int __init arp_tables_init(void)
	if (ret < 0)
		goto err4;

	pr_info("arp_tables: (C) 2002 David S. Miller\n");
	return 0;

err4:
+0 −1
Original line number Diff line number Diff line
@@ -1939,7 +1939,6 @@ static int __init ip_tables_init(void)
	if (ret < 0)
		goto err5;

	pr_info("(C) 2000-2006 Netfilter Core Team\n");
	return 0;

err5:
+0 −1
Original line number Diff line number Diff line
@@ -1952,7 +1952,6 @@ static int __init ip6_tables_init(void)
	if (ret < 0)
		goto err5;

	pr_info("(C) 2000-2006 Netfilter Core Team\n");
	return 0;

err5:
+2 −1
Original line number Diff line number Diff line
@@ -2122,7 +2122,6 @@ ip_set_init(void)
		return ret;
	}

	pr_info("ip_set: protocol %u\n", IPSET_PROTOCOL);
	return 0;
}

@@ -2138,3 +2137,5 @@ ip_set_fini(void)

module_init(ip_set_init);
module_exit(ip_set_fini);

MODULE_DESCRIPTION("ip_set: protocol " __stringify(IPSET_PROTOCOL));
Loading