From: an7 <an3h0ny@yahoo.fr>
To: netdev@oss.sgi.com
Subject: tcp_recv_skb, tcp_read_sock and tcp_recvmsg useless check ?
Date: Thu, 23 Oct 2003 13:02:47 +0200 (CEST) [thread overview]
Message-ID: <20031023110247.55464.qmail@web11102.mail.yahoo.com> (raw)
Hi,
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 ?
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
reply other threads:[~2003-10-23 11:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031023110247.55464.qmail@web11102.mail.yahoo.com \
--to=an3h0ny@yahoo.fr \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).