From: Alexander Duyck Date: Wed, 4 Mar 2015 23:04:46 +0000 (-0800) Subject: fib_trie: Prevent allocating tnode if bits is too big for size_t X-Git-Tag: omap-for-v4.2/o2_dc~131^2~344^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1de3d87bcd2c2e631500b9e4f0c40b38ce0d0d57;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed