netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: yjwei@cn.fujitsu.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] tcp: missing check ACK flag of received segment in FIN-WAIT-2 state
Date: Thu, 25 Jun 2009 20:09:40 -0700 (PDT)	[thread overview]
Message-ID: <20090625.200940.99884468.davem@davemloft.net> (raw)
In-Reply-To: <4A43356B.7060005@cn.fujitsu.com>

From: Wei Yongjun <yjwei@cn.fujitsu.com>
Date: Thu, 25 Jun 2009 16:29:31 +0800

> RFC0793 defined that in FIN-WAIT-2 state if the ACK bit is off drop
> the segment and return[Page 72]. But this check is missing in function
> tcp_timewait_state_process(). This cause the segment with FIN flag but
> no ACK has two diffent action:
...
> This patch fixed the problem.
> 
> Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>

Patch applied, thank you.

      reply	other threads:[~2009-06-26  3:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25  8:29 [PATCH] tcp: missing check ACK flag of received segment in FIN-WAIT-2 state Wei Yongjun
2009-06-26  3:09 ` David Miller [this message]

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=20090625.200940.99884468.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=yjwei@cn.fujitsu.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).