Re: [PATCH] pflocal/sock.c

2002-04-24 Thread Marcus Brinkmann
On Wed, Apr 24, 2002 at 06:36:19PM +0300, Ognyan Kulev wrote: > `pflocal/sock.c:sock_shutdown' can be called with both flags > SHUTDOWN_READ and SHUTDOWN_WRITE set (according to > `pflocal/socket.c:S_socket_shutdown'). When this happen the > `sock->lock' mutex is unlocked before calling `pipe_

[PATCH] pflocal/sock.c

2002-04-24 Thread Ognyan Kulev
Hi, `pflocal/sock.c:sock_shutdown' can be called with both flags SHUTDOWN_READ and SHUTDOWN_WRITE set (according to `pflocal/socket.c:S_socket_shutdown'). When this happen the `sock->lock' mutex is unlocked before calling `pipe_remove_reader' but the next `if' statement (that checks for SHUT