]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Mfp4 CH=177255:
authorBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 11 Feb 2011 13:27:00 +0000 (13:27 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 11 Feb 2011 13:27:00 +0000 (13:27 +0000)
commit0028e524618c913086e2f09be1d1242323afc7be
tree64fc40af6909661282c8bb2fc65add4863b0be8d
parent5d627bb558cb4c559efdb5277a199dac467e5490
Mfp4 CH=177255:

  Make VNET_ASSERT() available with either VNET_DEBUG or INVARIANTS.

  Change the syntax to match KASSERT() to allow more flexible panic
  messages rather than having a printf with hardcoded arguments
  before panic.

  Adjust the few assertions we have to the new format (and enhance
  the output).

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

MFC after: 2 weeks
sys/kern/uipc_socket.c
sys/net/if.c
sys/net/netisr.c
sys/net/vnet.h