summaryrefslogtreecommitdiff
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-06-10 07:24:21 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-06-11 09:09:10 (GMT)
commitb48c80ece973e9eddb042f6685b482b261ff0d47 (patch)
tree30262edc9721ac70e423bcc8d51f558d2962b539 /include/net/ip_fib.h
parent46517008e1168dc926cf2c47d529efc07eca85c0 (diff)
downloadlinux-fsl-qoriq-b48c80ece973e9eddb042f6685b482b261ff0d47.tar.xz
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_fib.h')
0 files changed, 0 insertions, 0 deletions