patch-1.3.44 linux/net/ipv4/af_inet.c
Next file: linux/net/ipv4/arp.c
Previous file: linux/net/ethernet/pe2.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Nov 24 16:39:54 1995
- Orig file:
v1.3.43/linux/net/ipv4/af_inet.c
- Orig date:
Fri Nov 17 08:42:33 1995
diff -u --recursive --new-file v1.3.43/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -1016,10 +1016,11 @@
sk1 = (struct sock *) sock->data;
/*
- * We've been passed an extra socket.
- * We need to free it up because the tcp module creates
- * its own when it accepts one.
+ * We've been passed an extra socket.
+ * We need to free it up because the tcp module creates
+ * its own when it accepts one.
*/
+
if (newsock->data)
{
struct sock *sk=(struct sock *)newsock->data;
@@ -1031,7 +1032,10 @@
if (sk1->prot->accept == NULL)
return(-EOPNOTSUPP);
- /* Restore the state if we have been interrupted, and then returned. */
+ /*
+ * Restore the state if we have been interrupted, and then returned.
+ */
+
if (sk1->pair != NULL )
{
sk2 = sk1->pair;
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