mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: skbuff.c BUG() pedantry
  2000-12-09 21:16 skbuff.c BUG() pedantry Matthew Kirkwood
@ 2000-12-09 21:05 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2000-12-09 21:05 UTC (permalink / raw)
  To: matthew; +Cc: linux-kernel

   Date: Sat, 9 Dec 2000 21:16:51 +0000 (GMT)
   From: Matthew Kirkwood <matthew@hairy.beasts.org>

   I guess it should probably be removed (or replace with a
   call to something which doesn't try to kill the attached
   process.

BUG is supposed to give a backtrace, nothing more.
If it happens to kill the machine too, so be it, state
is corrupted anyways...

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* skbuff.c BUG() pedantry
@ 2000-12-09 21:16 Matthew Kirkwood
  2000-12-09 21:05 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Kirkwood @ 2000-12-09 21:16 UTC (permalink / raw)
  To: David Miller; +Cc: linux-kernel

Hi,

It seems that the BUG() at skbuff.c:175 (2.4.0test12pre7)
kills the machine dead; BUG() isn't (or doesn't appear to
be) interrupt safe:

alloc_skb called nonatomically from interrupt c0194b81
kernel BUG at skbuff.c:175!
invalid operand: 0000
[..]
Code: 0f 0b 83 c4 0c 89 f6 83 e7 fe be 20 c5 24 c0 83 3d 28 c5 24
Aiee, killing interrupt handler
Kernel panic: Attempted to kill the idle task!
In interrupt handler - not syncing


I guess it should probably be removed (or replace with a
call to something which doesn't try to kill the attached
process.

Matthew.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-09 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-09 21:16 skbuff.c BUG() pedantry Matthew Kirkwood
2000-12-09 21:05 ` David S. Miller

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®