lkml.org 
[lkml]   [2003]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Useless networking code in 2.4.x ?
    On Thu, 23 Oct 2003 10:58:01 +0200 (CEST)
    an7 <an3h0ny@yahoo.fr> wrote:

    > If we have a look at tcp_recv_skb, and
    > tcp_read_sock(),
    >
    > we notice that there is a SYN check, and if the flag
    > is on, we do offset-- (sequence number not
    > corresponding to real data byte).
    >
    > This Syn check is useless, as the function cannot be
    > called at the beginning of a connection (since we have
    > not copied_seq filled with the last sequence number of
    > the last packet passed to the upper layer)
    >
    > What do you think of that ?

    Please next time, take this kind of question to netdev@oss.sgi.com
    where the networking developers are, most of them are not subscribed
    to linux-kernel.

    As to your question, if we ever support accepting data in the
    initial final SYN-ACK packet, this code would be needed, so it's
    better to keep this code around.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:58    [W:3.368 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site