svn commit: r192974 - projects/pnet/sys/net

Robert Watson rwatson at FreeBSD.org
Thu May 28 13:16:24 UTC 2009


Author: rwatson
Date: Thu May 28 13:16:23 2009
New Revision: 192974
URL: http://svn.freebsd.org/changeset/base/192974

Log:
  Universally use unsigned ints for protocol numbers in netisr2; the only
  remaining signed int protocol numbers are from compatibility interfaces
  with the existing netisr code.

Modified:
  projects/pnet/sys/net/netisr2.c

Modified: projects/pnet/sys/net/netisr2.c
==============================================================================
--- projects/pnet/sys/net/netisr2.c	Thu May 28 10:24:26 2009	(r192973)
+++ projects/pnet/sys/net/netisr2.c	Thu May 28 13:16:23 2009	(r192974)
@@ -644,7 +644,7 @@ netisr2_select_cpuid(struct netisr_proto
  * processing.
  */
 static void
-netisr2_process_workstream_proto(struct netisr_workstream *nwsp, int proto)
+netisr2_process_workstream_proto(struct netisr_workstream *nwsp, u_int proto)
 {
 	struct netisr_work local_npw, *npwp;
 	u_int handled;
@@ -703,7 +703,7 @@ netisr2_process_workstream_proto(struct 
  * responsible for checking the running flag before entering this function.
  */
 static void
-netisr2_process_workstream(struct netisr_workstream *nwsp, int proto)
+netisr2_process_workstream(struct netisr_workstream *nwsp, u_int proto)
 {
 	u_int i;
 


More information about the svn-src-projects mailing list