patch-2.3.5 linux/net/x25/af_x25.c
Next file: linux/Documentation/isdn/CREDITS
Previous file: linux/net/sunrpc/auth_unix.c
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Tue Jun  1 09:43:41 1999
-  Orig file: 
v2.3.4/linux/net/x25/af_x25.c
-  Orig date: 
Mon May 31 22:28:07 1999
diff -u --recursive --new-file v2.3.4/linux/net/x25/af_x25.c linux/net/x25/af_x25.c
@@ -1342,11 +1342,8 @@
 #if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE)
 					   || dev->type == ARPHRD_ETHER
 #endif
-			)) {
-			read_unlock_bh(&dev_base_lock);
+			))
 			x25_link_device_up(dev);
-			read_lock_bh(&dev_base_lock);
-		}
 	}
 	read_unlock_bh(&dev_base_lock);
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)