From: Andrew Morton <akpm@digeo.com>
To: cb-lkml@fish.zetnet.co.uk
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.5.67-mm4] Badness in local_bh_enable at kernel/softirq.c:105
Date: Fri, 18 Apr 2003 16:26:59 -0700 [thread overview]
Message-ID: <20030418162659.6e029b31.akpm@digeo.com> (raw)
In-Reply-To: <20030418225835.GA687@fish.zetnet.co.uk>
cb-lkml@fish.zetnet.co.uk wrote:
>
>
> Seems to be triggered by network traffic on 3c574 PCMCIA ethernet card.
> Several different traces appear.
>
> Config: Sony Vaio. Celeron 333, 128MB, 3c574 PCMCIA ethernet.
>
> These are a few of the traces.
>
> Badness in local_bh_enable at kernel/softirq.c:105
> Call Trace:
> [<c0120dcd>] local_bh_enable+0x8d/0x90
> [<c022bd10>] udp_sendmsg+0x1b0/0x880
> [<c01195d5>] scheduler_tick+0x3a5/0x3b0
> [<c022c9be>] udp_recvmsg+0x24e/0x2d0
> [<c02349ad>] inet_sendmsg+0x4d/0x60
> [<c01f319e>] sock_sendmsg+0x9e/0xd0
> [<c0109bb8>] common_interrupt+0x18/0x20
> [<c020822f>] __ip_route_output_key+0x2f/0xf0
Thanks, this should fix it up.
25-akpm/drivers/net/pcmcia/3c574_cs.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff -puN drivers/net/pcmcia/3c574_cs.c~3c574-irq-fix drivers/net/pcmcia/3c574_cs.c
--- 25/drivers/net/pcmcia/3c574_cs.c~3c574-irq-fix Fri Apr 18 16:24:21 2003
+++ 25-akpm/drivers/net/pcmcia/3c574_cs.c Fri Apr 18 16:25:11 2003
@@ -940,11 +940,9 @@ static int el3_start_xmit(struct sk_buff
outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD);
}
- dev_kfree_skb (skb);
pop_tx_status(dev);
-
- spin_unlock(&lp->window_lock);
-
+ spin_unlock_irqrestore(&lp->window_lock, flags);
+ dev_kfree_skb(skb);
return 0;
}
_
prev parent reply other threads:[~2003-04-18 23:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-18 22:58 cb-lkml
2003-04-18 23:26 ` Andrew Morton [this message]
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=20030418162659.6e029b31.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=cb-lkml@fish.zetnet.co.uk \
--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
all inboxes | Powered by JetHome®