Skip to content

Commit

Permalink
ipv4: don't spam dmesg with "Using LC-trie" messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and davem330 committed May 2, 2011
1 parent a05d2ad commit 7cfd260
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/ipv4/fib_trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7cfd260

Please sign in to comment.