diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-12-14 17:53:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-16 16:14:42 -0800 |
commit | ba8381236fd0fa0ab4e8383fb752c843a31dd019 (patch) | |
tree | cc6b95b9354efdd9c2ddfa4ecbec2cfd1305fc6f | |
parent | Merge branch 'hns3-next' (diff) | |
download | linux-dev-ba8381236fd0fa0ab4e8383fb752c843a31dd019.tar.xz linux-dev-ba8381236fd0fa0ab4e8383fb752c843a31dd019.zip |
net: fib_notifier: Add temporary events to the FIB notification chain
Subsequent patches are going to simplify the IPv4 route offload API,
which will only use two events - replace and delete.
Introduce a temporary version of these two events in order to make the
conversion easier to review.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | include/net/fib_notifier.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/fib_notifier.h b/include/net/fib_notifier.h index 6d59221ff05a..b3c54325caec 100644 --- a/include/net/fib_notifier.h +++ b/include/net/fib_notifier.h @@ -23,6 +23,8 @@ enum fib_event_type { FIB_EVENT_NH_DEL, FIB_EVENT_VIF_ADD, FIB_EVENT_VIF_DEL, + FIB_EVENT_ENTRY_REPLACE_TMP, + FIB_EVENT_ENTRY_DEL_TMP, }; struct fib_notifier_ops { |