commit | 97bab73f987e2781129cd6f4b6379bf44d808cc6 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sat Jun 09 22:36:36 2012 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 11 02:08:47 2012 -0700 |
tree | 40b10c4c021c8b5524c19f79fcfe4b0799b59952 | |
parent | c0efc887dcadbdbfe171f028acfab9c7c00e9dde [diff] |
inet: Hide route peer accesses behind helpers. 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>