Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.
authorJeremy Allison <jra@samba.org>
Thu, 1 Apr 2010 00:40:30 +0000 (17:40 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 1 Apr 2010 00:40:30 +0000 (17:40 -0700)
commit6800fdbb81130b79c2e077e9a7fcbe2d5e0813cb
treed2fcafbd48c8e07b02765a0863e4de03fbf447d6
parentbb54089503907745a33a09cb27ead565d1205165
Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.

As these always call exit_server, make that part of the function.
Use _internal functions for the echo client.

Metze please check !

Jeremy.
source3/smbd/globals.h
source3/smbd/process.c
source3/smbd/reply.c
source3/smbd/smb2_read.c
source3/smbd/smb2_server.c
source3/smbd/smb2_write.c