patch-2.3.17 linux/net/ipv4/af_inet.c

Next file: linux/net/ipx/af_ipx.c
Previous file: linux/net/decnet/af_decnet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.16/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -285,11 +285,6 @@
 	if (sock->state != SS_UNCONNECTED || sock->type != SOCK_STREAM)
 		return -EINVAL;
 
-	if ((unsigned) backlog == 0)	/* BSDism */
-		backlog = 1;
-	if ((unsigned) backlog > SOMAXCONN)
-		backlog = SOMAXCONN;
-
 	lock_sock(sk);
 	old_state = sk->state;
 	err = -EINVAL;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)