inet: Hide route peer accesses behind helpers.
authorDavid S. Miller <davem@davemloft.net>
Sun, 10 Jun 2012 05:36:36 +0000 (22:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jun 2012 09:08:47 +0000 (02:08 -0700)
We encode the pointer(s) into an unsigned long with one state bit.

The state bit is used so we can store the inetpeer tree root to use
when resolving the peer later.

Later the peer roots will be per-FIB table, and this change works to
facilitate that.

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

No differences found