From: "Edgar E. Iglesias" <[EMAIL PROTECTED]> Date: Sun, 6 Aug 2006 09:14:18 +0200
> Later I ended up throwing this away as it was causing some TCP > connections to deadlock. If you let skb's sit in the tx-ring > indefintely, the sk->sk_wmem_queued accounting will be inacurate and > this was causing the TCP retransmit logic to deadlock. That's right, it's important to release TX SKBs in a timely. Doing it purely from ->hard_start_xmit() causes big problems, as you saw. Increasingly I find that orphan'ing an SKB once it hits the real device for transmit is something to seriously consider. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html