]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r235986:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 8 Jul 2012 12:30:25 +0000 (12:30 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 8 Jul 2012 12:30:25 +0000 (12:30 +0000)
commitdfcfc803e0c4460205af951fef484c190a72bbd5
treeed04b582658f2363c3dc4f3ec32c7e6906b9383a
parent326f55eab3579a85010faf5e88cc188afad29cdb
MFC r235986:

   Use M_ZERO with malloc rather than calling bzero() ourselves.

   Change if () panic() checks to KASSERT()s as they are only
   catching invariants in code flow but not dependent on network
   input/output.

   Move initial assigments indirecting pointers after the lock
   has been aquired.

   Passing layer boundries, reset M_PROTOFLAGS.

   Remove a NULL assignment before free.

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/stable/9@238241 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet6/nd6.c