Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ipv4: Remove tb_peers from fib_table.

No longer used.

Signed-off-by: David S. Miller <davem@davemloft.net>

-4
-1
include/net/ip_fib.h
··· 162 162 u32 tb_id; 163 163 int tb_default; 164 164 int tb_num_default; 165 - struct inet_peer_base tb_peers; 166 165 unsigned long tb_data[0]; 167 166 }; 168 167
-3
net/ipv4/fib_trie.c
··· 1843 1843 if (ll && hlist_empty(&ll->list)) 1844 1844 trie_leaf_remove(t, ll); 1845 1845 1846 - inetpeer_invalidate_tree(&tb->tb_peers); 1847 - 1848 1846 pr_debug("trie_flush found=%d\n", found); 1849 1847 return found; 1850 1848 } ··· 1991 1993 tb->tb_id = id; 1992 1994 tb->tb_default = -1; 1993 1995 tb->tb_num_default = 0; 1994 - inet_peer_base_init(&tb->tb_peers); 1995 1996 1996 1997 t = (struct trie *) tb->tb_data; 1997 1998 memset(t, 0, sizeof(*t));