From: Stephan von Krawczynski <skraw@ithnet.com>
To: Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Cc: marcelo@conectiva.com.br, linux-kernel@vger.kernel.org
Subject: Re: Hard Lockup with 2.4.20-rc3 and ISDN (ippp)
Date: Sat, 23 Nov 2002 19:25:47 +0100 [thread overview]
Message-ID: <20021123192547.5f084d4e.skraw@ithnet.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0211230908590.23257-100000@chaos.physics.uiowa.edu>
On Sat, 23 Nov 2002 09:12:21 -0600 (CST)
Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> wrote:
> Yup, my bad. Could you confirm that the attached patch which I sent to
> Marcelo already fixes it?
Hello Kai, hello Marcelo,
I can confirm that below patch you sent fixes the lockup issue that came up
with rc3.
Regards,
Stephan
> -----------------------------------------------------------------------------
> ChangeSet@1.795.1.2, 2002-11-22 15:24:43-06:00, kai@tp1.ruhr-uni-bochum.de
> ISDN: Fix the fix
>
> Argh, I must have been asleep or something. The original patch by Herbert
> Xu was right, I extended it to cover more error paths and broke it in
> doing so. Now fixed again.
>
>
> ---------------------------------------------------------------------------
>
> diff -Nru a/drivers/isdn/isdn_ppp.c b/drivers/isdn/isdn_ppp.c
> --- a/drivers/isdn/isdn_ppp.c Fri Nov 22 15:29:42 2002
> +++ b/drivers/isdn/isdn_ppp.c Fri Nov 22 15:29:42 2002
> @@ -1147,7 +1147,7 @@
> printk(KERN_ERR "isdn_ppp_xmit: lp->ppp_slot(%d)\n",
> mlp->ppp_slot);
> kfree_skb(skb);
> - goto unlock;
> + goto out;
> }
> ipts = ippp_table[slot];
>
> @@ -1155,7 +1155,7 @@
> if (ipts->debug & 0x1)
> printk(KERN_INFO "%s: IP frame delayed.\n", netdev->name);
> retval = 1;
> - goto unlock;
> + goto out;
> }
>
> switch (ntohs(skb->protocol)) {
> @@ -1169,7 +1169,7 @@
> printk(KERN_ERR "isdn_ppp: skipped unsupported protocol:
> %#x.\n",
> skb->protocol);
> dev_kfree_skb(skb);
> - goto unlock;
> + goto out;
> }
>
> lp = isdn_net_get_locked_lp(nd);
> @@ -1336,6 +1336,7 @@
>
> unlock:
> spin_unlock_bh(&lp->xmit_lock);
> + out:
> return retval;
> }
>
next prev parent reply other threads:[~2002-11-23 18:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-22 17:21 Linux 2.4.20-rc3 Marcelo Tosatti
2002-11-22 23:50 ` Mr. James W. Laferriere
2002-11-22 23:59 ` Russell King
2002-11-23 0:01 ` Mr. James W. Laferriere
2002-11-22 23:59 ` Andre Hedrick
2002-11-23 8:02 ` Willy Tarreau
2002-11-23 0:06 ` Russell King
2002-11-23 11:33 ` Hard Lockup with 2.4.20-rc3 and ISDN (ippp) Stephan von Krawczynski
2002-11-23 15:12 ` Kai Germaschewski
2002-11-23 18:25 ` Stephan von Krawczynski [this message]
2002-11-23 17:07 ` Linux 2.4.20-rc3 Adrian Bunk
2002-11-25 5:25 ` Tim Connors
2002-11-25 17:02 ` Matthias Andree
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=20021123192547.5f084d4e.skraw@ithnet.com \
--to=skraw@ithnet.com \
--cc=kai@tp1.ruhr-uni-bochum.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.