git: eb0b1b33d5af - main - Enable multipath routing by default.
Alexander V. Chernikov
melifaro at FreeBSD.org
Wed Feb 3 08:51:16 UTC 2021
The branch main has been updated by melifaro:
URL: https://cgit.FreeBSD.org/src/commit/?id=eb0b1b33d5af4e81ee77732dffc77634e57a5879
commit eb0b1b33d5af4e81ee77732dffc77634e57a5879
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-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
More information about the dev-commits-src-main
mailing list