[PATCH] missing cli() in isdn_net.c

From: Patrick McHardy (kaber@trash.net)
Date: Fri Mar 14 2003 - 12:47:49 EST


Hi Kai,
this patch fixes a missing cli() in isdn_net_setcfg().

Regards,
Patrick

diff -urN linux-2.4.20-clean/drivers/isdn/isdn_net.c linux-2.4.20/drivers/isdn/isdn_net.c
--- linux-2.4.20-clean/drivers/isdn/isdn_net.c 2002-11-29 00:53:13.000000000 +0100
+++ linux-2.4.20/drivers/isdn/isdn_net.c 2003-03-14 18:37:05.000000000 +0100
@@ -2831,6 +2831,7 @@
 
                         /* If binding is exclusive, try to grab the channel */
                         save_flags(flags);
+ cli();
                         if ((i = isdn_get_free_channel(ISDN_USAGE_NET,
                                 lp->l2_proto, lp->l3_proto, drvidx,
                                 chidx, lp->msn)) < 0) {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:40 EST