ipv4: don't spam dmesg with "Using LC-trie" messages
authorAlexey Dobriyan <adobriyan@gmail.com>
Sun, 1 May 2011 02:04:11 +0000 (02:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 May 2011 06:17:50 +0000 (23:17 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c

index e9013d6..5fe9b8b 100644 (file)
@@ -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;
 }