Yes, I have.

I think that the problem might be connected to the fact that the alloc_skb was clled from my kernel module thread, and the _kfree_skb is caled in the context of the softirq (through net_tx_action).

Could that be the problem that the malloc and kfree are not called from the same thread ?


Chava
----- Original Message ----- From: "Oron Peled" <[EMAIL PROTECTED]>
To: "Chava Leviatan" <[EMAIL PROTECTED]>
Cc: <linux-il@linux.org.il>
Sent: Thursday, October 05, 2006 9:16 PM
Subject: Re: netif_rx and dev stack


On Thursday, 5 בOctober 2006 16:02, Chava Leviatan wrote:
    -                alloc_skb
    -                Fill the proper sk_buff fields
    -                Fill IP header fields
    -                Fill ICMP header fields

Have you skb_reserve()'ed headroom for all these headers?
Maybe you simply corrupt the SLAB allocator.

--
Oron Peled                             Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]                  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"A standard for copy protection is as premature as a standard for
teleportation."
--- Noted computer security expert and
                   Princeton University Professor Edward Felten.



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to