svn commit: r364493 - head/sys/net

Alexander V. Chernikov melifaro at FreeBSD.org
Sat Aug 22 20:02:41 UTC 2020


Author: melifaro
Date: Sat Aug 22 20:02:40 2020
New Revision: 364493
URL: https://svnweb.freebsd.org/changeset/base/364493

Log:
  Finish r364492 by renaming rt_flags to rte_flags for multipath code.

Modified:
  head/sys/net/route.c

Modified: head/sys/net/route.c
==============================================================================
--- head/sys/net/route.c	Sat Aug 22 19:30:56 2020	(r364492)
+++ head/sys/net/route.c	Sat Aug 22 20:02:40 2020	(r364493)
@@ -812,9 +812,9 @@ rt_mpath_unlink(struct rib_head *rnh, struct rt_addrin
 		if (rn) {
 			rto = RNTORT(rn);
 			RT_LOCK(rto);
-			rto->rt_flags |= RTF_UP;
+			rto->rte_flags |= RTF_UP;
 			RT_UNLOCK(rto);
-		} else if (rt->rt_flags & RTF_GATEWAY) {
+		} else if (rt->rte_flags & RTF_GATEWAY) {
 			/*
 			 * For gateway routes, we need to 
 			 * make sure that we we are deleting


More information about the svn-src-head mailing list