patch-2.1.96 linux/net/netrom/nr_in.c

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

diff -u --recursive --new-file v2.1.95/linux/net/netrom/nr_in.c linux/net/netrom/nr_in.c
@@ -129,6 +129,10 @@
 {
 	switch (frametype) {
 
+		case NR_CONNACK | NR_CHOKE_FLAG:
+			nr_disconnect(sk, ECONNRESET);
+			break;
+
 		case NR_DISCREQ:
 			nr_write_internal(sk, NR_DISCACK);
 
@@ -170,6 +174,7 @@
 			nr_disconnect(sk, 0);
 			break;
 
+		case NR_CONNACK | NR_CHOKE_FLAG:
 		case NR_DISCACK:
 			nr_disconnect(sk, ECONNRESET);
 			break;

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