patch-1.3.51 linux/include/net/sock.h

Next file: linux/init/main.c
Previous file: linux/include/net/ip_alias.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.50/linux/include/net/sock.h linux/include/net/sock.h
@@ -174,7 +174,10 @@
  */
  
 	volatile unsigned short	backoff;
-	volatile int		err;
+	volatile int		err, err_soft;	/* Soft holds errors that don't
+						   cause failure but are the cause
+						   of a persistent failure not just
+						   'timed out' */
 	unsigned char		protocol;
 	volatile unsigned char	state;
 	volatile unsigned char	ack_backlog;
@@ -409,7 +412,7 @@
 	int err=xchg(&sk->err,0);
 	return -err;
 }
- 
+
 /* 
  *	Declarations from timer.c 
  */

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