patch-1.3.67 linux/net/ipv4/packet.c
Next file: linux/net/ipv4/raw.c
Previous file: linux/net/ipv4/ip_fw.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Feb 20 13:52:31 1996
- Orig file:
v1.3.66/linux/net/ipv4/packet.c
- Orig date:
Sat Feb 17 16:02:58 1996
diff -u --recursive --new-file v1.3.66/linux/net/ipv4/packet.c linux/net/ipv4/packet.c
@@ -204,7 +204,7 @@
* file side of the object.
*/
-static void packet_close(struct sock *sk, int timeout)
+static void packet_close(struct sock *sk, unsigned long timeout)
{
/*
* Stop more data and kill the socket off.
@@ -236,6 +236,7 @@
}
release_sock(sk);
+ destroy_sock(sk);
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this