patch-2.0.34 linux/net/unix/af_unix.c
Next file: linux/scripts/Configure
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jun 3 15:17:50 1998
- Orig file:
v2.0.33/linux/net/unix/af_unix.c
- Orig date:
Sat Nov 9 00:53:54 1996
diff -u --recursive --new-file v2.0.33/linux/net/unix/af_unix.c linux/net/unix/af_unix.c
@@ -28,6 +28,7 @@
* Nick Nevin : recvmsg bugfix.
* Alan Cox : Started proper garbage collector
* Heiko EiBfeldt : Missing verify_area check
+ * Alan Cox : Shutdown() bug
*
* Known differences from reference BSD that was tested:
*
@@ -1155,6 +1156,9 @@
{
unix_socket *sk=(unix_socket *)sock->data;
unix_socket *other=sk->protinfo.af_unix.other;
+
+ mode++;
+
if(mode&SEND_SHUTDOWN)
{
sk->shutdown|=SEND_SHUTDOWN;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov