public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]  missing cli() in isdn_net.c
@ 2003-03-14 17:47 Patrick McHardy
  0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2003-03-14 17:47 UTC (permalink / raw)
  To: Kai Germaschewski; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 81 bytes --]

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

Regards,
Patrick

[-- Attachment #2: isdn_net-missing-cli.diff --]
[-- Type: text/plain, Size: 488 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-14 17:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-14 17:47 [PATCH] missing cli() in isdn_net.c Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox