Date: Tue, 9 Feb 2010 17:40:29 GMT From: Balaji G <balajig81@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/143704: Patch: ECMP Phase 1 fixes for FreeBSD 7.2 Message-ID: <201002091740.o19HeTBc013564@www.freebsd.org> Resent-Message-ID: <201002091750.o19Ho1xt012769@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002091740.o19HeTBc013564>