[quagga-dev 3513] Re: IPv6 and netlink problems revisited

Hasso Tepper hasso at estpak.ee
Mon Jun 13 16:10:30 BST 2005


Hasso Tepper:
> 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)
>      return 0;
> 
> -  if (rtm->rtm_protocol == RTPROT_ZEBRA && h->nlmsg_type == RTM_NEWROUTE)
> +  if (rtm->rtm_protocol == RTPROT_ZEBRA)
>      return 0;
> 
>    if (rtm->rtm_src_len != 0)
> 
> 
> But it isn't solution for me, it introduces just another race condition.

Real solution is attached to the bugreport in bugzilla now. I hope to see
them in upstream kernel soon. Credit for patches goes to the Jamal Hadi Salim.

http://bugzilla.quagga.net/show_bug.cgi?id=196


-- 
Hasso Tepper
Elion Enterprises Ltd.
WAN administrator



More information about the Quagga-dev mailing list