Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2017 23:05:13 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327072 - head/sys/net
Message-ID:  <201712212305.vBLN5Did091404@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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