[quagga-dev 11594] Re: [PATCH 1/2] MBGP routes should not be installed in the kernel

Balaji G balajig81 at gmail.com
Mon Oct 20 19:44:28 BST 2014

Hi Paul

On Mon, Oct 20, 2014 at 11:08 PM, Paul Jakma <paul at jakma.org> wrote:

> On Mon, 20 Oct 2014, Balaji G wrote:
>  The reason why i cannot check for that is because we add the routes in
>> RIB and then when the workqueue kicks in, it goes through the nodes and
>> calls rib_process() which pushes the entries down to the kernel. At this
>> level we wouldn't have the information whether its SAFI_Multicast or not. I
>> didnt want to break the existing interface so i made this change.
> Are you sure? rib_process has the (struct route_node *)rn which has a
> pointer to the (struct route_table *) and that has an info field which is a
> (rib_table_info_t *), which has the afi/safi info.

Thanks a lot for the information  I would build a patch with that and send
it out.

  - Balaji

> Would that work?
> regards,
> --
> Paul Jakma      paul at jakma.org  @pjakma Key ID: 64A2FF6A
> Fortune:
> When a fellow says, "It ain't the money but the principle of the thing,"
> it's the money.
>                 -- Kim Hubbard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20141021/765bee2d/attachment-0001.html>

More information about the Quagga-dev mailing list