On Wed, 18 Nov 1998, klein fabien wrote:

> Still talking about hard_start_transmit
> 
> I allways return 0 in dlci.c and I allways free the packet( Alan Cox
> recommandation)

But you are putting the packets on your own internal list, so you must
not free them until they are removed from that list and processed!

> All seems to be OK but I see this messages 
> 
> Problem: block on freelist at 00xxxxx isn't free
> ..
> repeted many times
> 
> kfree of non kmalloced memory:xxxx
> 
> What does this mean??

Freeing packets twice! Once in the top-level xmit function, and once again
in the slave_xmit function! Oopsie doopsies!

Alan's advice wasn't meant to literally apply to what you are doing.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to