inetpeer: Abstract out the tree root accesses.
authorDavid S. Miller <davem@davemloft.net>
Tue, 30 Nov 2010 19:41:59 +0000 (11:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Nov 2010 19:41:59 +0000 (11:41 -0800)
commit98158f5a853cafd33b254ae0eacc0dd69f90b93b
treeccffd30760090c9b20d89d9bb30ed50246b699e6
parentc20ec76157747434652e721cdd4dccd8654ad370
inetpeer: Abstract out the tree root accesses.

Instead of directly accessing "peer", change to code to
operate using a "struct inet_peer_base *" pointer.

This will facilitate the addition of a seperate tree for
ipv6 peer entries.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inetpeer.c