summary refs log tree commit diff
path: root/samples
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@redhat.com>2015-03-27 14:14:22 -0700
committerDavid S. Miller <davem@davemloft.net>2015-03-31 13:18:56 -0400
commit6e47d6caff9e8af6db0741ddbd260bdd36d24c13 (patch)
tree668bcba1529c40c0117c26a10d329d28378a54ef /samples
parentad88d05136386de3584867091a51927eab18dc39 (diff)
downloadlinux-6e47d6caff9e8af6db0741ddbd260bdd36d24c13.tar.gz
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 <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions