ipv4: don't spam dmesg with "Using LC-trie" messages

Submitted by Alexey Dobriyan on May 1, 2011, 12:04 p.m.

Details

Message ID 20110501120411.GA5224@p183
State Accepted
Delegated to: David Miller
Headers show

Commit Message

Alexey Dobriyan May 1, 2011, 12:04 p.m.
fib_trie_table() is called during netns creation and
Chromium uses clone(CLONE_NEWNET) to sandbox renderer process.

Don't print anything.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 net/ipv4/fib_trie.c |    3 ---
 1 file changed, 3 deletions(-)

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

Comments

David Miller May 2, 2011, 6:18 a.m.
From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Sun, 1 May 2011 15:04:11 +0300

> fib_trie_table() is called during netns creation and
> Chromium uses clone(CLONE_NEWNET) to sandbox renderer process.
> 
> Don't print anything.
> 
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Yeah that's pretty annoying, patch applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -1978,9 +1978,6 @@  struct fib_table *fib_trie_table(u32 id)
 	t = (struct trie *) tb->tb_data;
 	memset(t, 0, sizeof(*t));
 
-	if (id == RT_TABLE_LOCAL)
-		pr_info("IPv4 FIB: Using LC-trie version %s\n", VERSION);
-
 	return tb;
 }