Re: Revert: SUNRPC: xs_sock_mark_closed() does not need to trigger socket autoclose

From: Steven Rostedt
Date: Fri Jul 01 2016 - 18:39:22 EST


On Fri, 1 Jul 2016 22:34:02 +0000
Trond Myklebust <trondmy@xxxxxxxxxxxxxxx> wrote:


> NACK. This ocde was removed on purpose because it is dangerous to
> have the TCP state change callbacks queue up a new close(). The
> connect code sometimes has to close sockets that are misbehaving, and
> so weâve seen races whereby the old socket closes and triggers an
> autoclose for the new socket while it is connecting.

OK fine. But can we please come up with a solution to get rid of the
hidden port issue. It's very annoying that I get a message from
rkhunter ever morning telling me "Please inspect this machine, because
it may be infected."

-- Steve