Skip to contentSkip to conversation

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

PATCH In review Alexey Dobriyan 2 participants 2 messages May 1, 2011 – May 2, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

fib_trie_table() is called during netns creation and Chromium uses clone(CLONE_NEWNET) to sandbox renderer process.

Don't print anything.

---

 net/ipv4/fib_trie.c |    3 ---
 1 file changed, 3 deletions(-)
net/ipv4/fib_trie.c +0 -3
@@ -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;
 }
 
maintainer
#1 lore raw

From: Alexey Dobriyan <[email protected]>
Date: Sun, 1 May 2011 15:04:11 +0300

Quoted 6 lines

fib_trie_table() is called during netns creation and Chromium uses clone(CLONE_NEWNET) to sandbox renderer process.

Don't print anything.

Yeah that's pretty annoying, patch applied, thanks.