From: Alexander Duyck Date: Wed, 11 Mar 2015 21:02:16 +0000 (-0700) Subject: fib_trie: Fix uninitialized variable warning X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~270 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61f0d861fc6924fa673ecf1128a911d49cb10dc8;p=pandora-kernel.git fib_trie: Fix uninitialized variable warning The 0-day kernel test infrastructure reported a use of uninitialized variable warning for local_table due to the fact that the local and main allocations had been swapped from the original setup. This change corrects that by making it so that we free the main table if the local table allocation fails. Fixes: 0ddcf43d5 ("ipv4: FIB Local/MAIN table collapse") Signed-off-by: Alexander Duyck Signed-off-by: David S. Miller --- Reading git-diff-tree failed