]> git.puffer.fish Git - mirror/frr.git/commit
zebra: No need for a rib_delete before a rib_add 11777/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 10 Aug 2022 00:09:03 +0000 (20:09 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 17 Aug 2022 20:04:50 +0000 (16:04 -0400)
commit725d9f5945569904938db311871931e2718330f1
treed4ccbf09e3c0b93849d7a693b9bbd1a1c04658e9
parent07fd1f7e9420efd480e85a9ab72b88fff274f791
zebra: No need for a rib_delete before a rib_add

In kernel_socket.c, the code is deleting and then adding
the route back in on a change operation.  This just translates
too two re's, one for deletion and one for addition.  The deletion
will just be ignored.  Let's not do the extra deletion.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/kernel_socket.c