mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
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: Lin Ming <mlin@ss.pku.edu.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1a0150a93c
commit
4ea4bf7ebc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue