Commit 4ea4bf7e authored by Lin Ming's avatar Lin Ming Committed by David S. Miller

ipv4: fix debug info in tnode_new

It should print size of struct rt_trie_node * allocated instead of size
of struct rt_trie_node.
Signed-off-by: default avatarLin Ming <mlin@ss.pku.edu.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a0150a9
......@@ -473,7 +473,7 @@ static struct tnode *tnode_new(t_key key, int pos, int bits)
}
pr_debug("AT %p s=%zu %zu\n", tn, sizeof(struct tnode),
sizeof(struct rt_trie_node) << bits);
sizeof(struct rt_trie_node *) << bits);
return tn;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment