patch-2.1.12 linux/net/netrom/nr_timer.c

Next file: linux/net/netsyms.c
Previous file: linux/net/netrom/nr_out.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.11/linux/net/netrom/nr_timer.c linux/net/netrom/nr_timer.c
@@ -144,6 +144,7 @@
 				sk->protinfo.nr->state = NR_STATE_0;
 				sk->state              = TCP_CLOSE;
 				sk->err                = ETIMEDOUT;
+				sk->shutdown          |= SEND_SHUTDOWN;
 				if (!sk->dead)
 					sk->state_change(sk);
 				sk->dead               = 1;
@@ -159,6 +160,7 @@
 				sk->protinfo.nr->state = NR_STATE_0;
 				sk->state              = TCP_CLOSE;
 				sk->err                = ETIMEDOUT;
+				sk->shutdown          |= SEND_SHUTDOWN;
 				if (!sk->dead)
 					sk->state_change(sk);
 				sk->dead               = 1;
@@ -174,6 +176,7 @@
 				sk->protinfo.nr->state = NR_STATE_0;
 				sk->state              = TCP_CLOSE;
 				sk->err                = ETIMEDOUT;
+				sk->shutdown          |= SEND_SHUTDOWN;
 				if (!sk->dead)
 					sk->state_change(sk);
 				sk->dead               = 1;

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