Gagan Arneja <[EMAIL PROTECTED]> wrote on 05/11/2007 11:05:47 AM: > Krishna Kumar2 wrote: > > I haven't seen reordering packets (I did once when I was having a bug in > > the requeue code, some TCP messages on receiver indicating packets out of > > order). When a send fails, the packet are requeued in reverse (go to end of > > the failed skb and traverse back to the failed skb and requeue each skb). > > Since new inserts go to the end, the queue is guaranteed to be in order. > > queue_lock is dropped when you're in xmit. There's no guarantee packets > won't be queued up while you're trying a transmit.
Right, but I am the sole dequeue'r, and on failure, I requeue those packets to the beginning of the queue (just as it would happen in the regular case of one packet xmit/failure/requeue). - KK - 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