Skip to content
Commit 97bab73f authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent c0efc887
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment