aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/fib_trie.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index 9b0f25930fbc..18cbc15b20d5 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -1843,8 +1843,6 @@ int fib_table_flush(struct fib_table *tb)
1843 if (ll && hlist_empty(&ll->list)) 1843 if (ll && hlist_empty(&ll->list))
1844 trie_leaf_remove(t, ll); 1844 trie_leaf_remove(t, ll);
1845 1845
1846 inetpeer_invalidate_tree(&tb->tb_peers);
1847
1848 pr_debug("trie_flush found=%d\n", found); 1846 pr_debug("trie_flush found=%d\n", found);
1849 return found; 1847 return found;
1850} 1848}
@@ -1993,7 +1991,6 @@ struct fib_table *fib_trie_table(u32 id)
1993 tb->tb_id = id; 1991 tb->tb_id = id;
1994 tb->tb_default = -1; 1992 tb->tb_default = -1;
1995 tb->tb_num_default = 0; 1993 tb->tb_num_default = 0;
1996 inet_peer_base_init(&tb->tb_peers);
1997 1994
1998 t = (struct trie *) tb->tb_data; 1995 t = (struct trie *) tb->tb_data;
1999 memset(t, 0, sizeof(*t)); 1996 memset(t, 0, sizeof(*t));