aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2019-12-23 15:28:12 +0200
committerDavid S. Miller <[email protected]>2019-12-24 22:37:29 -0800
commit6b722237b656d045c0b9bab9966a5e46604258ba (patch)
tree90db307509dc90477aba55eb8b7e714ecec71731
parentaf7797785d61e1053d23764b5d3fbdf2ab926f31 (diff)
net: fib_notifier: Add temporary events to the FIB notification chain
Subsequent patches are going to simplify the IPv6 route offload API, which will only use three events - replace, delete and append. Introduce a temporary version of replace and delete in order to make the conversion easier to review. Note that append does not need a temporary version, as it is currently not used. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
-rw-r--r--include/net/fib_notifier.h2
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 {