Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2021 08:51:16 GMT
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: eb0b1b33d5af - main - Enable multipath routing by default.
Message-ID:  <202102030851.1138pGCS055804@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by melifaro:

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

commit eb0b1b33d5af4e81ee77732dffc77634e57a5879
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2021-02-03 08:49:46 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2021-02-03 08:49:58 +0000

    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
    MFC after: 1 week
    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 c46d0430a164..6b0869196d12 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102030851.1138pGCS055804>