]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Remove need for ACK for netlink messages 2589/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 29 Jun 2018 13:49:08 +0000 (09:49 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 13 Jul 2018 02:43:06 +0000 (22:43 -0400)
commit8c85e8ea92808ecbf8d301b00e991784830024a7
treed7c35d6927ce5e2a47eadf6fa4b2fa267bfb85a9
parent19d5a4fead0a0b9b9aa30b7e1476edd9808f0613
zebra: Remove need for ACK for netlink messages

Kernel requests via netlink are synchronous.

Therefore we do not need to specify a need for a ACK and
we can make the netlink_cmd NONBLOCKING

1) If the netlink message is going to cause an error
we will still get one.  Since results from the kernel
are synchronous we will get the error message on the
netlink_cmd socket and handle it

2) If the netlink message is going to send more than
one packet we will still get them all.  Since the results
from the kernel are synchronous we will receive all data.

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