diff options
-rw-r--r-- | include/net/ip_fib.h | 1 | ||||
-rw-r--r-- | net/ipv4/fib_trie.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 000c4674e18..e91fedd22db 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
@@ -162,7 +162,6 @@ struct fib_table { | |||
162 | u32 tb_id; | 162 | u32 tb_id; |
163 | int tb_default; | 163 | int tb_default; |
164 | int tb_num_default; | 164 | int tb_num_default; |
165 | struct inet_peer_base tb_peers; | ||
166 | unsigned long tb_data[0]; | 165 | unsigned long tb_data[0]; |
167 | }; | 166 | }; |
168 | 167 | ||
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index 9b0f25930fb..18cbc15b20d 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)); |