public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH]  missing cli() in isdn_net.c
Date: Fri, 14 Mar 2003 18:47:49 +0100	[thread overview]
Message-ID: <3E7215C5.2040302@trash.net> (raw)

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

                 reply	other threads:[~2003-03-14 17:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E7215C5.2040302@trash.net \
    --to=kaber@trash.net \
    --cc=kai@tp1.ruhr-uni-bochum.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox