Commit 6b722237 authored by Ido Schimmel's avatar Ido Schimmel Committed by David S. Miller
Browse files

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: default avatarIdo Schimmel <idosch@mellanox.com>
Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
Reviewed-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent af779778
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 {