]> git.puffer.fish Git - mirror/frr.git/commit
[zebra:linux] clean up blocking setting of netlink sockets
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Sat, 16 Aug 2008 16:51:27 +0000 (17:51 +0100)
committerPaul Jakma <paul@quagga.net>
Fri, 22 Aug 2008 18:56:25 +0000 (19:56 +0100)
commit4cde931e2d5a83708cf55e63eae7b629e8e4296a
tree09cdea4432cca881b390b9499914a9acb130d78b
parent3d265b4d9d748bf4c92aefebc2ca0c04fd607945
[zebra:linux] clean up blocking setting of netlink sockets

2008-08-16 Stephen Hemminger <stephen.hemminger@vyatta.com>

* zebra/rt_netlink.c: This change removes the overhead of twiddling
          the socket twice on every route change. The netlink support has
          two sockets, one is used for request/response and should always
          block. The other is used for asynchronous notification and should
          always be non-blocking.

Signed-off-by: Paul Jakma <paul@quagga.net>
zebra/rt_netlink.c