lkml.org 
[lkml]   [2010]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: bug and question in tcp stack
    From
    From: Joe Cao <caoco2002@yahoo.com>
    Date: Fri, 12 Feb 2010 15:22:16 -0800 (PST)

    > if (tcp_retransmit_skb(sk, tcp_write_queue_head(sk)) > 0) {
    >
    > checks the return value as a positive number, which will never be true.

    It can, recheck the code paths.

    The upcall to send an SKB out through the packet schedular and onwards
    to the actual device can return congestion notification values, which
    are positive.


    \
     
     \ /
      Last update: 2010-02-13 00:41    [W:0.017 / U:61.164 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site