[quagga-dev 3508] Re: IPv6 and netlink problems revisited
hasso at estpak.ee
Thu Jun 9 15:07:57 BST 2005
Paul Jakma wrote:
> This will break if the user removes a zebra route outside of zebra i
> think. But hey.
Pointless. Why you always have to think about so complicated solutions?
If you accept breaking it, there is much simpler solution:
diff -u -3 -p -r1.36 rt_netlink.c
--- rt_netlink.c 9 Apr 2005 16:59:28 -0000 1.36
+++ rt_netlink.c 9 Jun 2005 14:04:18 -0000
@@ -874,7 +874,7 @@ netlink_route_change (struct sockaddr_nl
if (rtm->rtm_protocol == RTPROT_KERNEL)
- if (rtm->rtm_protocol == RTPROT_ZEBRA && h->nlmsg_type == RTM_NEWROUTE)
+ if (rtm->rtm_protocol == RTPROT_ZEBRA)
if (rtm->rtm_src_len != 0)
But it isn't solution for me, it introduces just another race condition.
Elion Enterprises Ltd.
More information about the Quagga-dev