svn commit: r327072 - head/sys/net

Konstantin Belousov kib at FreeBSD.org
Thu Dec 21 23:05:15 UTC 2017


Author: kib
Date: Thu Dec 21 23:05:13 2017
New Revision: 327072
URL: https://svnweb.freebsd.org/changeset/base/327072

Log:
  Fix build for kernels with SCHED_4BSD.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/net/iflib.c

Modified: head/sys/net/iflib.c
==============================================================================
--- head/sys/net/iflib.c	Thu Dec 21 22:48:02 2017	(r327071)
+++ head/sys/net/iflib.c	Thu Dec 21 23:05:13 2017	(r327072)
@@ -5127,7 +5127,7 @@ find_thread(int cpu, int thread_num)
 static int
 find_thread(int cpu, int thread_num __unused)
 {
-	return cpu_id;
+	return cpu;
 }
 #endif
 


More information about the svn-src-all mailing list