patch-2.1.101 linux/net/ipv4/tcp_input.c

Next file: linux/net/ipv4/tcp_ipv4.c
Previous file: linux/net/ipv4/ipconfig.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/net/ipv4/tcp_input.c linux/net/ipv4/tcp_input.c
@@ -5,7 +5,7 @@
  *
  *		Implementation of the Transmission Control Protocol(TCP).
  *
- * Version:	$Id: tcp_input.c,v 1.116 1998/05/02 14:50:11 davem Exp $
+ * Version:	$Id: tcp_input.c,v 1.118 1998/05/06 04:53:48 davem Exp $
  *
  * Authors:	Ross Biro, <bir7@leland.Stanford.Edu>
  *		Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -593,7 +593,7 @@
 		 * connection startup slow start one packet too
 		 * quickly.  This is severely frowned upon behavior.
 		 */
-		if(sacked & TCPCB_SACKED_RETRANS && tp->retrans_out)
+		if((sacked & TCPCB_SACKED_RETRANS) && tp->retrans_out)
 			tp->retrans_out--;
 		if(!(scb->flags & TCPCB_FLAG_SYN)) {
 			acked |= FLAG_DATA_ACKED;
@@ -968,7 +968,7 @@
 		tw->af_specific	= sk->tp_pinfo.af_tcp.af_specific;
 
 #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
-		if(tw->family == AF_INET6) {
+		if(tw->family == PF_INET6) {
 			memcpy(&tw->v6_daddr,
 			       &sk->net_pinfo.af_inet6.daddr,
 			       sizeof(struct in6_addr));

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov