[PATCH] missing cli() in isdn_net.c

Patrick McHardy (kaber@trash.net)
Fri, 14 Mar 2003 18:47:49 +0100


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-17977-1047664489-0001-2
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

Regards,
Patrick

--=_courier-17977-1047664489-0001-2
Content-Type: text/plain; name="isdn_net-missing-cli.diff"; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="isdn_net-missing-cli.diff"

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) {

--=_courier-17977-1047664489-0001-2--