misc/143704: Patch: ECMP Phase 1 fixes for FreeBSD 7.2
Balaji G
balajig81 at gmail.com
Tue Feb 9 17:50:02 UTC 2010
>Number: 143704
>Category: misc
>Synopsis: Patch: ECMP Phase 1 fixes for FreeBSD 7.2
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 09 17:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Balaji G
>Release: FreeBSD 7.2
>Organization:
Home
>Environment:
FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #7: Sun Feb 7 13:19:58 IST 2010 root@:/usr/obj/usr/home/balaji/7.2.0/sys/MYKERNEL i386
>Description:
The Patch contains the ECMP Phase 1 fixes back ported to 7.2 release. I am working on bringing in the remaining changes too. This patch installs ECMP routes in the RIB
>How-To-Repeat:
Create two static routes with the same destination and different gateway
>Fix:
Patch attached with submission follows:
diff -u -r /home/balaji/Codes/FreeBSD/7.2.0/7.2.0_unmodified/7.2.0/sys/netinet/in_rmx.c netinet/in_rmx.c
--- /home/balaji/Codes/FreeBSD/7.2.0/7.2.0_unmodified/7.2.0/sys/netinet/in_rmx.c 2010-02-04 22:35:07.000000000 +0530
+++ netinet/in_rmx.c 2010-02-09 21:18:58.682874190 +0530
@@ -369,6 +369,7 @@
rnh->rnh_addaddr = in_addroute;
rnh->rnh_matchaddr = in_matroute;
rnh->rnh_close = in_clsroute;
+ rnh->rnh_multipath = 1;
if (_in_rt_was_here == 0 ) {
callout_init(&rtq_timer, CALLOUT_MPSAFE);
in_rtqtimo(rnh); /* kick off timeout first time */
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list