git: 87cefd5c3dc6 - stable/13 - MFC eb0b1b33: Enable multipath routing by default.

Alexander V. Chernikov melifaro at FreeBSD.org
Thu Feb 4 22:34:50 UTC 2021


The branch stable/13 has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=87cefd5c3dc6e52609be1b01087b33511f1d16a8

commit 87cefd5c3dc6e52609be1b01087b33511f1d16a8
Author:     Alexander V. Chernikov <melifaro at FreeBSD.org>
AuthorDate: 2021-02-03 08:49:46 +0000
Commit:     Alexander V. Chernikov <melifaro at FreeBSD.org>
CommitDate: 2021-02-04 22:17:17 +0000

    MFC eb0b1b33: Enable multipath routing by default.
    
    ROUTE_MPATH was added to the GENERIC kernel in r368648.
    
    According to the plan in D27428, it was enabled with `net.route.multipath` sysctl set to 0.
    Given enough time has passed, this change enables route multipath by default.
    
    The goal is to ship FreeBSD 13 with multipath turned on.
    
    Reviewed By: donner, olivier
    Relnotes: yes
    Differential Revision: https://reviews.freebsd.org/D28423
---
 sys/net/route/route_ctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net/route/route_ctl.c b/sys/net/route/route_ctl.c
index 230d23845c64..955b1df9029f 100644
--- a/sys/net/route/route_ctl.c
+++ b/sys/net/route/route_ctl.c
@@ -101,7 +101,7 @@ SYSCTL_DECL(_net_route);
 #else
 #define _MP_FLAGS	CTLFLAG_RD
 #endif
-VNET_DEFINE(u_int, rib_route_multipath) = 0;
+VNET_DEFINE(u_int, rib_route_multipath) = 1;
 SYSCTL_UINT(_net_route, OID_AUTO, multipath, _MP_FLAGS | CTLFLAG_VNET,
     &VNET_NAME(rib_route_multipath), 0, "Enable route multipath");
 #undef _MP_FLAGS


More information about the dev-commits-src-all mailing list