bird/sysdep/linux
Ondrej Zajicek 1567edea8d Bugfix for routing table breaking bug.
Here is a patch fixing a bug that causes breakage of a local routing
table during shutdown of Bird. The problem was caused by shutdown
of 'device' protocol before shutdown of 'kernel' protocol.  When
'device' protocol went down, the route (with local network prefix)
From different protocol (BGP or OSPF) became preferred and installed
to the kernel routing table. Such routes were broken (like
192.168.1.0/24 via 192.168.1.2). I think it is also the cause
of problem reported by Martin Kraus.

The patch disables updating of kernel routing table during shutdown of
Bird. I am not sure whether this is the best way to fix it, I would
prefer to forbid 'kernel' protocol to overwrite routes with
'proto kernel'.

The patch also fixes a problem that during shutdown sometimes routes
created by Bird remained in the kernel routing table.
2008-10-26 23:09:46 +01:00
..
netlink Bugfix for routing table breaking bug. 2008-10-26 23:09:46 +01:00
krt-scan.c Updated for new scope handling. 2000-06-01 12:58:41 +00:00
krt-scan.h Kernel route syncer now supports dynamic reconfiguration. Also it doesn't 2000-01-18 10:39:30 +00:00
Modules Tried to clean up multicast handling. Now we don't try to guess 1999-12-16 13:06:13 +00:00
sysio.h Implementation of MD5 authentication of BGP sessions. 2008-10-26 22:42:39 +01:00