> Can I do the following? When hard_start_xmit gets called
> and I want to delay the transmission, can I just return 0,
> but not free the skb yet? I then put it on a list,

Yes

> which I maintain on my own. I then send it at a later time
> and free the skb. Is there anything wrong with this approach?

Nothing. The buffer handed to you is locked. It is going nowhere until
you unlock it (dev_kfree_skb does an unlock..)

Equally you don't want to queue many frames or you'll get poorer tcp
performance or queue them forever.

Alan

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

Reply via email to