From: Alexander Duyck Date: Fri, 27 Mar 2015 21:14:22 +0000 (-0700) Subject: fib_trie: Cleanup ip_fib_net_exit code path X-Git-Tag: omap-for-v4.2/o2_dc~131^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e47d6caff9e8af6db0741ddbd260bdd36d24c13;p=pandora-kernel.git fib_trie: Cleanup ip_fib_net_exit code path While fixing a recent issue I noticed that we are doing some unnecessary work inside the loop for ip_fib_net_exit. As such I am pulling out the initialization to NULL for the locally stored fib_local, fib_main, and fib_default. In addition I am restoring the original code for flushing the table as there is no need to split up the fib_table_flush and hlist_del work since the code for packing the tnodes with multiple key vectors was dropped. Signed-off-by: Alexander Duyck Signed-off-by: David S. Miller --- Reading git-diff-tree failed