summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@redhat.com>2015-03-11 14:02:16 -0700
committerDavid S. Miller <davem@davemloft.net>2015-03-11 17:33:44 -0400
commit61f0d861fc6924fa673ecf1128a911d49cb10dc8 (patch)
tree2ba634a2bb90744aadd9b9ba2d871ff189bac5d2 /block
parent6dede75b7e8ed4af31c3b06aec84401a5db88be9 (diff)
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 <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions