| commit | 4cde931e2d5a83708cf55e63eae7b629e8e4296a | [log] [tgz] |
|---|---|---|
| author | Stephen Hemminger <stephen.hemminger@vyatta.com> | Sat Aug 16 17:51:27 2008 +0100 |
| committer | Paul Jakma <paul@quagga.net> | Fri Aug 22 19:56:25 2008 +0100 |
| tree | 09cdea4432cca881b390b9499914a9acb130d78b | |
| parent | 3d265b4d9d748bf4c92aefebc2ca0c04fd607945 [diff] |
[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>