Re: Bad skb and hard irq messages with 2.3.49, PPP, USB modem

From: Henner Eisen (eis@baty.hanse.de)
Date: Wed Mar 08 2000 - 19:18:04 EST


>>>>> "Andi" == Andi Kleen <ak@suse.de> writes:

    Andi> Sounds like a bug -- the PPP driver is probably not
    Andi> reentrant enough for that.

    Andi> - -Andi

It seems that the ppp driver is subject to a similar phenomenon as
we are observing in the isdn driver:

The ppp channel calls ppp_output_wakeup() from interrupt, which in turn pulls
a new skb from the ppp xmit queue and passes it finally downstream via
ppp_send_frame(). All this occurs from interrupt context -- a fact which is
somewhat hidden in the code (naively, one would assume the same context as
in dev->hard_start_xmit()). Thus, any kfree_skb() in the lower xmit path
is potentially called from interrupt context.

Henner

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



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:14 EST