commit | 1de3d87bcd2c2e631500b9e4f0c40b38ce0d0d57 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@redhat.com> | Wed Mar 04 15:04:46 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 04 23:35:18 2015 -0500 |
tree | 9c5454c691c99de935aab3699cf85cf97151a68b | |
parent | 71e8b67d0fdd2fe22a657bb98716c5cf0e31e828 [diff] |
fib_trie: Prevent allocating tnode if bits is too big for size_t This patch adds code to prevent us from attempting to allocate a tnode with a size larger than what can be represented by size_t. Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>