kernel: missing 'prefsrc' when installing route to KRT (original BIRD, no patches)

Ondrej Zajicek santiago at crfreenet.org
Fri Aug 23 02:01:00 CEST 2013


On Thu, Aug 22, 2013 at 01:25:23PM +0300, Sergey Popovich wrote:
> Hello community!
> 
> While ago I write to list about importance of 'prefsrc' (BIRD's name 
> krt_prefsrc) in Linux network stack (see thread "kernel: does not learn routes 
> with RTPROT_KERNEL (proto kernel in ip-route(8) output)").
> 
> However there is another problem with kernel protocol, I spot when
> *restarting* bird:
>   bird wont install krt_prefsrc attribute when installing route to KRT for
>   routes learned via kernel syncer from another KRT and distributed
>   between BIRD's routing tables via pipe protocol, after daemon restart.

...

> Why BIRD does not install/update route with correct 'prefsrc' it it is known
> even after pipe to another table?

Hello

This is a bug in some eattr magic code. Use attached patch.

BTW, thanks for very elaborate bug reports.

-- 
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: fix_kernel_eattrs.patch
Type: text/x-diff
Size: 596 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20130823/d4915546/attachment-0001.patch>


More information about the Bird-users mailing list