svn commit: r358576 - head/sys/kern

Bjoern A. Zeeb bz at FreeBSD.org
Tue Mar 3 14:07:46 UTC 2020


Author: bz
Date: Tue Mar  3 14:07:44 2020
New Revision: 358576
URL: https://svnweb.freebsd.org/changeset/base/358576

Log:
  upic_ktrls: make RSS compile again here
  
  The results of ktls_get_cpu() are stored in u_int and NETISR_CPUID_NONE
  requires u_int.  Adjust uint16_t to uint_t in order to make RSS kernels
  compile some more again.
  
  HPTS still has to be fixed, which is a bit more complicated.
  
  Reviewed by:	jhb, gallatin, rrs
  Differential Revision:	https://reviews.freebsd.org/D23726

Modified:
  head/sys/kern/uipc_ktls.c

Modified: head/sys/kern/uipc_ktls.c
==============================================================================
--- head/sys/kern/uipc_ktls.c	Tue Mar  3 13:48:12 2020	(r358575)
+++ head/sys/kern/uipc_ktls.c	Tue Mar  3 14:07:44 2020	(r358576)
@@ -299,11 +299,11 @@ ktls_crypto_backend_deregister(struct ktls_crypto_back
 }
 
 #if defined(INET) || defined(INET6)
-static uint16_t
+static u_int
 ktls_get_cpu(struct socket *so)
 {
 	struct inpcb *inp;
-	uint16_t cpuid;
+	u_int cpuid;
 
 	inp = sotoinpcb(so);
 #ifdef RSS


More information about the svn-src-all mailing list