Deleted Added
full compact
27c27
< __FBSDID("$FreeBSD: head/sys/i386/ibcs2/ibcs2_socksys.c 164033 2006-11-06 13:42:10Z rwatson $");
---
> __FBSDID("$FreeBSD: head/sys/i386/ibcs2/ibcs2_socksys.c 180291 2008-07-05 13:10:10Z rwatson $");
33a34,35
> #include <sys/lock.h>
> #include <sys/mutex.h>
178c180,182
< if ( strlen(hostname) == 0 )
---
> mtx_lock(&hostname_mtx);
> if ( strlen(hostname) == 0 ) {
> mtx_unlock(&hostname_mtx);
179a184
> }
182a188
> mtx_unlock(&hostname_mtx);