linux-kernel.vger.kernel.org archive mirror
 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] ISDN: don't unlock lp if there is nothing to unlock
Date: Fri, 21 Mar 2003 20:06:35 +0100	[thread overview]
Message-ID: <3E7B62BB.9000800@trash.net> (raw)

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

This patch fixes a bug introduced with 2.4.20, it is tried to unlock
lp after failed call to isdn_net_get_locked_lp.

Regards,
Patrick


[-- Attachment #2: isdn-ppp-dont-unlock.diff --]
[-- Type: text/plain, Size: 925 bytes --]

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1104  -> 1.1105 
#	drivers/isdn/isdn_ppp.c	1.21    -> 1.22   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/03/21	kaber@trash.net	1.1105
# [ISDN]: don't try to unlock when there is nothing to unlock
# --------------------------------------------
#
diff -Nru a/drivers/isdn/isdn_ppp.c b/drivers/isdn/isdn_ppp.c
--- a/drivers/isdn/isdn_ppp.c	Fri Mar 21 19:53:58 2003
+++ b/drivers/isdn/isdn_ppp.c	Fri Mar 21 19:53:58 2003
@@ -1251,7 +1251,7 @@
 	if (!lp) {
 		printk(KERN_WARNING "%s: all channels busy - requeuing!\n", netdev->name);
 		retval = 1;
-		goto unlock;
+		goto out;
 	}
 	/* we have our lp locked from now on */
 

                 reply	other threads:[~2003-03-21 19:06 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=3E7B62BB.9000800@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;
as well as URLs for NNTP newsgroup(s).