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

inet: Add family scope inetpeer flushes.



This implementation can deal with having many inetpeer roots, which is
a necessary prerequisite for per-FIB table rooted peer tables.

Each family (AF_INET, AF_INET6) has a sequence number which we bump
when we get a family invalidation request.

Each peer lookup cheaply checks whether the flush sequence of the
root we are using is out of date, and if so flushes it and updates
the sequence number.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 46517008
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment