On Wed, Nov 18, 2015 at 10:31 PM, Hannes Frederic Sowa <han...@stressinduktion.org> wrote: > I was not saying using tcp_close literally, sorry for not making that > clear, but just model the state transitions after tcp_close. At least it > seems like a normal close to me.
But it shouldn't be a normal close. Consider calling SOCK_DESTROY on a socket that is streaming data to a peer. If SOCK_DESTROY results in the kernel sending a FIN, the remote side might think that the sender closed the connection gracefully, even though the local side aborted the connection. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html