Hi,

We recently found a bug in our code which resulted in rule 0 in the 
routing policy database being deleted, this is a bad thing and the man 
page documentation for "ip rule" indicates

Rule 0 is special. It cannot be deleted or overridden.

which seems entirely reasonable. The code in net/core/fib_rules.c does 
not seem to protect against deletion of this rule and I was wondering if 
there is a reason for this. If not I will submit a patch to address it.

Simply running "ip rule del" shows the issue .

Regards,
Richard Laing
-- 

*Richard Laing*
Software Team Leader*
Allied Telesis Labs*| 27 Nazareth Ave | Christchurch 8024 | New Zealand
Phone: +64 3 3393000 | DDI: +64 3 339 9248 | Web: *alliedtelesis.com 
<http://alliedtelesis.com/>*<skype:andrewriddell3?chat>


http://productselector.alliedtelesis.eu/ 
<http://productselector.alliedtelesis.eu/>

Reply via email to