]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
net: fib_notifier: Add temporary events to the FIB notification chain
authorIdo Schimmel <idosch@mellanox.com>
Sat, 14 Dec 2019 15:53:06 +0000 (17:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2019 00:14:42 +0000 (16:14 -0800)
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>
include/net/fib_notifier.h

index 6d59221ff05ad605dea6bf0e5f3d6b9d24237537..b3c54325caec057bf579f9befc6986d5a77eafed 100644 (file)
@@ -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 {