diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-19 07:35:40 -0500 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-19 12:39:49 -0500 |
| commit | e55311665286ab2744295575948c2b08dc001bf3 (patch) | |
| tree | ff0842fefb01e89d84c7f88ce1a033ba8716036a /net/ipv4 | |
| parent | 0e839dfaf100266b08c0db38f13a77746cd742c2 (diff) | |
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: Florian Westphal <fw@strlen.de>
Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4')
| -rw-r--r-- | net/ipv4/netfilter/arp_tables.c | 1 | ||||
| -rw-r--r-- | net/ipv4/netfilter/ip_tables.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/arp_tables.c b/net/ipv4/netfilter/arp_tables.c index bf8a5340f15e..5f7c0d643fb3 100644 --- a/net/ipv4/netfilter/arp_tables.c +++ b/net/ipv4/netfilter/arp_tables.c | |||
| @@ -1656,7 +1656,6 @@ static int __init arp_tables_init(void) | |||
| 1656 | if (ret < 0) | 1656 | if (ret < 0) |
| 1657 | goto err4; | 1657 | goto err4; |
| 1658 | 1658 | ||
| 1659 | pr_info("arp_tables: (C) 2002 David S. Miller\n"); | ||
| 1660 | return 0; | 1659 | return 0; |
| 1661 | 1660 | ||
| 1662 | err4: | 1661 | err4: |
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c index 0b975aa2d363..1f534aec22f0 100644 --- a/net/ipv4/netfilter/ip_tables.c +++ b/net/ipv4/netfilter/ip_tables.c | |||
| @@ -1939,7 +1939,6 @@ static int __init ip_tables_init(void) | |||
| 1939 | if (ret < 0) | 1939 | if (ret < 0) |
| 1940 | goto err5; | 1940 | goto err5; |
| 1941 | 1941 | ||
| 1942 | pr_info("(C) 2000-2006 Netfilter Core Team\n"); | ||
| 1943 | return 0; | 1942 | return 0; |
| 1944 | 1943 | ||
| 1945 | err5: | 1944 | err5: |
