summaryrefslogtreecommitdiff
path: root/lib/module.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-29 09:49:08 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-07-12 22:43:06 -0400
commit8c85e8ea92808ecbf8d301b00e991784830024a7 (patch)
treed7c35d6927ce5e2a47eadf6fa4b2fa267bfb85a9 /lib/module.c
parent19d5a4fead0a0b9b9aa30b7e1476edd9808f0613 (diff)
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>
Diffstat (limited to 'lib/module.c')
0 files changed, 0 insertions, 0 deletions