[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090113063205.GA26047@gondor.apana.org.au>
Date: Tue, 13 Jan 2009 17:32:05 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: billfink@...dspring.com
Cc: ilpo.jarvinen@...sinki.fi, zbr@...emap.net,
bert.hubert@...herlabs.nl, h.willstrand@...il.com,
netdev@...r.kernel.org
Subject: Re: sendfile()? Re: SO_LINGER dead: I get an immediate RST on
2.6.24?
Bill Fink <billfink@...dspring.com> wrote:
>
> If I understand you correctly, to hit this corner case, just after
> the final TCP write, there would have to be no packets in flight
> together with a zero TCP window. To make it more bullet-proof, I
> guess after seeing a zero tcpi_unacked, an additional small delay
> should be performed, and then rechecking for a zero tcpi_unacked.
> I don't see anything else obvious (to me anyway) in the tcp_info
> that would be particularly helpful in handling this.
What's wrong with idiag_wqueue? Isn't that a much more direct
way to get this?
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists