Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 23 Nov 2002 13:23:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 23 Nov 2002 13:23:54 -0500 Received: from ns.ithnet.com ([217.64.64.10]:39691 "HELO heather.ithnet.com") by vger.kernel.org with SMTP id ; Sat, 23 Nov 2002 13:23:53 -0500 Date: Sat, 23 Nov 2002 19:25:47 +0100 From: Stephan von Krawczynski To: Kai Germaschewski Cc: marcelo@conectiva.com.br, linux-kernel@vger.kernel.org Subject: Re: Hard Lockup with 2.4.20-rc3 and ISDN (ippp) Message-Id: <20021123192547.5f084d4e.skraw@ithnet.com> In-Reply-To: References: <20021123123322.3e6ef7c2.skraw@ithnet.com> Organization: ith Kommunikationstechnik GmbH X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1974 Lines: 70 On Sat, 23 Nov 2002 09:12:21 -0600 (CST) Kai Germaschewski 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; > } > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/