cvs commit: src/sys/netinet6 frag6.c

Sam Leffler sam at errno.com
Wed Oct 22 08:44:09 PDT 2003


On Wednesday 22 October 2003 08:32 am, Hajimu UMEMOTO wrote:
> ume         2003/10/22 08:32:56 PDT
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/netinet6         frag6.c
>   Log:
>   pretect ip6 reassemble queue by use of mutex.
>
>   Submitted by:   rwatson (with modification)

The convention used throughout the kernel is for

FOO_LOCK_ASSERT()

to generate an assertion that the specified lock is held.  It would be good 
for the IPv6 code to do likewise (you appear to be using FOO_LOCK_CHECK 
instead).

	Sam



More information about the cvs-all mailing list