Fix IPv6 ECMP handling with 4.11+ kernel

Ondrej Zajicek santiago at crfreenet.org
Fri Sep 1 11:36:01 CEST 2017


On Thu, Aug 31, 2017 at 10:39:01PM +0200, Vincent Bernat wrote:
> Hey!
> 
> Starting from kernel 4.11 (commit beb1afac518d), IPv6 are now notified
> using RTA_MULTIPATH, like IPv4 routes. Those routes are not handled
> correctly by BIRD. We handle them correctly. This also enable to parse
> alien routes correctly. Route modifications is still done in the old
> way as for insertion/deletion, this is not helpful to optimize in those
> cases and for replace, IPv4 case is not optimized either. It should be
> possible to detect appropriate support for RTA_MULTIPATH when receiving
> an IPv6 route with this attribute, but I don't see how it would be
> helpful, so I didn't do it (simpler code this way).

Hi

Thanks for the patch, it looks OK. I will try it and merge it.

We plan to simplify the multipath processing code in 2.x branch so that
it will depend on the new kernel behavior (and therefore will require
Linux 4.0.11 for IPv6 multipath), but we keep the current code in 1.6.x.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170901/de357c6f/attachment.asc>


More information about the Bird-users mailing list