]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Mfp4 CH=177256:
authorBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 14 Feb 2011 20:49:37 +0000 (20:49 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 14 Feb 2011 20:49:37 +0000 (20:49 +0000)
commitbf9ce95bd2477963bc5b1ff87d620143d3264e66
tree71b67f60a974ee2c60401ea9eeca5000f8170686
parentf6c05906eed5737e7d3634a4c973eb2345ac48fd
Mfp4 CH=177256:

  Catch a set vnet upon return to user space. This usually
  means return paths with CURVNET_RESTORE() missing.

  If VNET_DEBUG is turned on we can even tell the function
  that did the CURVNET_SET() which is really helpful; else
  we print "N/A".

  Sponsored by: The FreeBSD Foundation
  Sponsored by: CK Software GmbH
  Reviewed by:  jhb

MFC after: 11 days
sys/kern/subr_trap.c