]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
Merge r204303 from head to stable/8:
authorrwatson <rwatson@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 15 Jan 2011 19:05:06 +0000 (19:05 +0000)
committerrwatson <rwatson@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 15 Jan 2011 19:05:06 +0000 (19:05 +0000)
commitc8635a7c021b487075cd89044abdf215b5f06d6e
treec29fd8df28f9e8fbbb47a31fc5ae14fc9755426c
parentbab57f152a0168d5ad648c5e8f993f7b504701a7
Merge r204303 from head to stable/8:

  Fix edge cases in several KASSERTs: use <= rather than < when testing that
  counters have not gone about MAXCPU or NETISR_MAXPROT.  These problems
  caused panics on UP kernels with INVARIANTS when using sysctl -a, but
  would also have caused problems for 32-core boxes or if the netisr
  protocol vector was fully populated.

  Reported by:    nwhitehorn, Neel Natu <neelnatu@gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@217450 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net/netisr.c