diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-08-03 13:28:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-03 15:36:00 -0700 |
commit | dcb18f762f6ac83a6dc9cdc26dd694dcc167beb7 (patch) | |
tree | fad7aaa2d2aac7cb2db4908987cf0da97e9c25a7 /tools/perf | |
parent | df77fe4d9865c6354372876632bcbceeda84f6c8 (diff) | |
download | linux-dcb18f762f6ac83a6dc9cdc26dd694dcc167beb7.tar.gz linux-dcb18f762f6ac83a6dc9cdc26dd694dcc167beb7.tar.bz2 linux-dcb18f762f6ac83a6dc9cdc26dd694dcc167beb7.zip |
ipv6: fib_rules: Dump rules during registration to FIB chain
Allow users of the FIB notification chain to receive a complete view of
the IPv6 FIB rules upon registration to the chain.
The integrity of the dump is ensured by a per-family sequence counter
that is incremented (under RTNL) whenever a rule is added or deleted.
All the sequence counters are read (under RTNL) and summed, prior and
after the dump. In case the counters differ, then the dump is either
restarted or the registration fails.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions