]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ba467eeadc318f7f27f8e5c86e7b476a8c3f3d8
tree3ad83fc6fe8b4c1633437f5c5415ff34c566ce8b
parent615c0db45518d3a7bb75938b4f7155b274cb8dc9
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