diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2015-03-27 14:14:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-31 13:18:56 -0400 |
commit | 6e47d6caff9e8af6db0741ddbd260bdd36d24c13 (patch) | |
tree | 668bcba1529c40c0117c26a10d329d28378a54ef /net/ipv6/mcast.c | |
parent | ad88d05136386de3584867091a51927eab18dc39 (diff) | |
download | linux-6e47d6caff9e8af6db0741ddbd260bdd36d24c13.tar.gz linux-6e47d6caff9e8af6db0741ddbd260bdd36d24c13.tar.bz2 linux-6e47d6caff9e8af6db0741ddbd260bdd36d24c13.zip |
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 'net/ipv6/mcast.c')
0 files changed, 0 insertions, 0 deletions