patch-2.2.18 linux/net/ipv6/proc.c

Next file: linux/net/ipv6/reassembly.c
Previous file: linux/net/ipv6/ndisc.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/net/ipv6/proc.c linux/net/ipv6/proc.c
@@ -7,7 +7,7 @@
  *		PROC file system.  This is very similar to the IPv4 version,
  *		except it reports the sockets in the INET6 address family.
  *
- * Version:	$Id: proc.c,v 1.9.2.1 2000/01/14 01:22:24 davem Exp $
+ * Version:	$Id: proc.c,v 1.9.2.2 2000/10/18 17:55:00 davem Exp $
  *
  * Authors:	David S. Miller (davem@caip.rutgers.edu)
  *
@@ -59,7 +59,7 @@
 		int tw_bucket = 0;
 
 		pos += 149;
-		if(pos < offset)
+		if(pos <= offset)
 			goto next;
 		tp = &(sp->tp_pinfo.af_tcp);
 		if((format == 0) && (sp->state == TCP_TIME_WAIT)) {

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