[PATCH] route cache: This patch adds route priority to route object oo_id_attrs

Thomas Graf tgraf at suug.ch
Tue Jan 22 13:29:39 EST 2013


On 01/17/13 at 06:48am, roopa at cumulusnetworks.com wrote:
> From: roopa <roopa at cumulusnetworks.com>
> 
> The kernel allows multiple entries in the main table which differ in the
> priority value. In libnl currently, since priority is not part of the base
> netlink route message, it is not used as part of the key. This patch
> includes priority in the key/oo_id_attrs and defaults the value to zero
> for messages where priority is not included.
> 
> One point to note is that the actual selection of route from multiple
> options is done implicitly in the kernel by storing the routes in sort
> priority order, but there is no explicit communication to a client of libnl
> of that.
> 
> Signed-off-by: Shrijeet Mukherjee <shm at cumulusnetworks.com>
> Signed-off-by: Roopa Prabhu <roopa at cumulusnetworks.com>

Applied, thanks.



More information about the libnl mailing list