From: Paul Fulghum <paulkf@microgate.com>
To: "davej@suse.de" <davej@suse.de>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH] syncppp.c 2.5.41
Date: 10 Oct 2002 14:17:49 -0500 [thread overview]
Message-ID: <1034277473.785.16.camel@diemos.microgate.com> (raw)
* Remove cli()/restore()
Please apply
Paul Fulghum
paulkf@microgate.com
--- linux-2.5.41/drivers/net/wan/syncppp.c Mon Oct 7 13:23:38 2002
+++ linux-2.5.41-mg/drivers/net/wan/syncppp.c Wed Oct 9 15:55:47 2002
@@ -1284,12 +1284,12 @@
{
struct sppp *sp = (struct sppp*) arg;
unsigned long flags;
- save_flags(flags);
- cli();
+
+ spin_lock_irqsave(&spppq_lock, flags);
sp->pp_flags &= ~PP_TIMO;
if (! (sp->pp_if->flags & IFF_UP) || (sp->pp_flags & PP_CISCO)) {
- restore_flags(flags);
+ spin_unlock_irqrestore(&spppq_lock, flags);
return;
}
switch (sp->lcp.state) {
@@ -1328,7 +1328,7 @@
}
break;
}
- restore_flags(flags);
+ spin_unlock_irqrestore(&spppq_lock, flags);
}
static char *sppp_lcp_type_name (u8 type)
reply other threads:[~2002-10-10 19:12 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=1034277473.785.16.camel@diemos.microgate.com \
--to=paulkf@microgate.com \
--cc=davej@suse.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