patch-2.4.19 linux-2.4.19/net/ipv4/af_inet.c
Next file: linux-2.4.19/net/ipv4/arp.c
Previous file: linux-2.4.19/net/econet/af_econet.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Fri Aug 2 17:39:46 2002
- Orig file:
linux-2.4.18/net/ipv4/af_inet.c
- Orig date:
Fri Dec 21 09:42:05 2001
diff -urN linux-2.4.18/net/ipv4/af_inet.c linux-2.4.19/net/ipv4/af_inet.c
@@ -620,13 +620,6 @@
if (sk->state != TCP_CLOSE)
goto out;
- err = -EAGAIN;
- if (sk->num == 0) {
- if (sk->prot->get_port(sk, 0) != 0)
- goto out;
- sk->sport = htons(sk->num);
- }
-
err = sk->prot->connect(sk, uaddr, addr_len);
if (err < 0)
goto out;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)