tcp: clear hints to avoid a stale one (nfs only affected?)
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 3 Dec 2009 06:24:02 +0000 (22:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 06:24:02 +0000 (22:24 -0800)
commit8818a9d884e3a589899be3303958fff182e98e55
tree3ad83fc6fe8b4c1633437f5c5415ff34c566ce8b
parente6b09ccada2e4ab8ee25a7c3ac72fcd1bc7101c4
tcp: clear hints to avoid a stale one (nfs only affected?)

Eric Dumazet mentioned in a context of another problem:

"Well, it seems NFS reuses its socket, so maybe we miss some
cleaning as spotted in this old patch"

I've not check under which conditions that actually happens but
if true, we need to make sure we don't accidently leave stale
hints behind when the write queue had to be purged (whether reusing
with NFS can actually happen if purging took place is something I'm
not sure of).

...At least it compiles.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h