Go to file
Renato Westphal 949ae9ba15 zebra: fix FIB route updates on *BSD
On *BSD, we update a route in the FIB by removing the old one and then
installing the new version.

With that said, on kernel_route_rib() we need to provide a pointer to
both the old version and the new version of the route.

We were, however, passing a pointer to the new version to both the
'old' and 'new' parameters. This is not a problem on Linux, which uses
NLM_F_REPLACE to update routes, but it breaks route updates on *BSD
because the 'old' parameter points to a route that is not installed in
the kernel. The kernel_route_rib() function then fails to uninstall the
supposedly 'old' route and can fail to install the new version as well if
the kernel doesn't support ECMP (e.g. FreeBSD with default configuration).

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2016-12-23 13:27:03 +07:00
bgpd bgpd: Fix 'show ip bgp summary' variable output being wrong 2016-12-15 21:28:51 -05:00
cumulus Merge remote-tracking branch 'origin/cmaster' into cmaster-next 2016-08-17 20:52:04 -04:00
debian Merge remote-tracking branch 'origin/cmaster' into cmaster-next 2016-11-19 12:31:41 -05:00
doc build: COMMUNITY.md: add git branch diagram 2016-12-01 17:16:24 +01:00
fpm Use only the ISC license for .proto files. 2016-09-23 12:12:16 -04:00
gdb gdb: Add a directory of files with gdb macros 2016-05-26 15:33:30 +00:00
init build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
isisd Merge branch '-isisd-simpl' into stable/2.0 2016-12-08 12:52:45 +01:00
ldpd *: create a helper function to set the IP_MULTICAST_LOOP sockoption 2016-11-25 11:46:06 -02:00
lib lib: Ensure ptrs are NULL on free 2016-12-15 21:00:03 -05:00
m4 build: fix "pragma weak" mixups 2013-02-09 03:00:12 +01:00
ospf6d *: always set SO_SNDBUF and SO_RCVBUF using a best effort approach 2016-12-08 12:50:25 +01:00
ospfclient lib: migrate to new memory-type handling 2016-09-19 18:35:50 +02:00
ospfd *: always set SO_SNDBUF and SO_RCVBUF using a best effort approach 2016-12-08 12:50:25 +01:00
pimd Merge branch '-rip' into stable/2.0 2016-12-05 16:25:58 +01:00
pkgsrc build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
ports pimd: merge pimd as of 2015-01-19 2016-05-25 20:38:32 -04:00
qpb fpm/protobuf: fix compile errors & warnings 2016-09-23 12:12:17 -04:00
redhat build: drop TODO from redhat/quagga.spec.in 2016-11-29 20:31:43 +01:00
ripd ripd: minor code simplification 2016-11-25 11:46:06 -02:00
ripngd *: always set SO_SNDBUF and SO_RCVBUF using a best effort approach 2016-12-08 12:50:25 +01:00
solaris solaris: fix SMF manifest dependency model and start method 2016-05-26 15:25:13 +00:00
tests bgpd: plug several memleaks 2016-11-28 16:15:27 -02:00
tools *: Fix up licensing to be right 2016-11-18 10:14:03 -05:00
vtysh vtysh: Fix static compilation 2016-12-09 15:48:56 +01:00
watchquagga Merge remote-tracking branch 'opensourcerouting/cmaster-next-vty2' into cmaster-next 2016-11-10 08:08:23 -05:00
zebra zebra: fix FIB route updates on *BSD 2016-12-23 13:27:03 +07:00
.gitignore build: remove accidentally-added configure outputs 2016-10-11 13:09:06 +02:00
AUTHORS Initial revision 2002-12-13 20:15:29 +00:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh build: remove --disable-ipv6 2016-06-03 15:51:36 -04:00
ChangeLog [trivia] Make 'make dist' happy about ChangeLog expunge 2008-08-23 08:36:42 +01:00
common.am qpb: Add support for protobuf. 2016-09-23 12:12:16 -04:00
COMMUNITY.md frr: Modify doc to talk about cli 2016-12-16 15:35:14 -05:00
configure.ac build: ditch outdated documents, including HACKING 2016-11-28 19:03:10 +01:00
COPYING *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
COPYING-LGPLv2.1 build: remove LGPL v2.0, add LGPL v2.1 2016-11-15 17:19:38 +09:00
INSTALL.quagga.txt build: goodbye, gawk 2016-09-19 16:31:08 -04:00
Makefile.am build: ditch outdated documents, including HACKING 2016-11-28 19:03:10 +01:00
NEWS release: 0.99.24 2016-06-03 15:56:44 -04:00
README doc: update README to mention PIM-SSM and LDP support 2016-12-05 15:48:46 +01:00
README.NetBSD Omit --opaque-lsa from build (now default). 2011-06-28 15:05:05 -04:00
render_md.py build: number sections in COMMUNITY.md HTML 2016-12-05 19:08:00 +01:00
REPORTING-BUGS Update for git and emphasize asking for good reports. 2010-05-05 07:51:26 -04:00
SERVICES pimd: merge pimd as of 2015-01-19 2016-05-25 20:38:32 -04:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00
update-autotools * README.NetBSD: use update-autotools instead of autoreconf 2007-02-02 16:52:38 +00:00

Quagga is free software that manages various IPv4 and IPv6 routing
protocols.

Currently Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1,
RIPv2, RIPng, PIM-SSM and LDP as well as very early support for IS-IS.
  
See the file INSTALL.quagga.txt for building and installation instructions.
  
See the file REPORTING-BUGS to report bugs.
  
Quagga is free software. See the file COPYING for copying conditions.