summaryrefslogtreecommitdiffstats
path: root/zebra/rule_netlink.c
diff options
context:
space:
mode:
authorJakub Urbańczyk <xthaid@gmail.com>2020-07-31 00:15:51 +0200
committerJakub Urbańczyk <xthaid@gmail.com>2020-08-10 21:57:04 +0200
commit18f60fe9990db3c9313e579497d36e44a9818629 (patch)
treed1225f6a7aa08e3247d866eb818409e4d732167f /zebra/rule_netlink.c
parentzebra: netlink message batching (diff)
downloadfrr-18f60fe9990db3c9313e579497d36e44a9818629.tar.xz
frr-18f60fe9990db3c9313e579497d36e44a9818629.zip
zebra: remove old kernel one-update-at-a-time api
The old one is replaced by the api that is suitable for the batching. Signed-off-by: Jakub Urbańczyk <xthaid@gmail.com>
Diffstat (limited to 'zebra/rule_netlink.c')
-rw-r--r--zebra/rule_netlink.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/zebra/rule_netlink.c b/zebra/rule_netlink.c
index 9f9ea2774..3a3baab4c 100644
--- a/zebra/rule_netlink.c
+++ b/zebra/rule_netlink.c
@@ -182,15 +182,6 @@ static ssize_t netlink_oldrule_msg_encoder(struct zebra_dplane_ctx *ctx,
/* Public functions */
-/*
- * The communication with the kernel is done using the message batching
- * interface, so return a failure.
- */
-enum zebra_dplane_result kernel_pbr_rule_update(struct zebra_dplane_ctx *ctx)
-{
- return ZEBRA_DPLANE_REQUEST_FAILURE;
-}
-
enum netlink_msg_status
netlink_put_rule_update_msg(struct nl_batch *bth, struct zebra_dplane_ctx *ctx)
{