Restoring the socket state by injecting packets is quite brilliant, as it guarantees to avoid the risk of being able to use the resume feature to get the TCP stack in a state which is otherwise impossible (and which can cause a kernel crash or exploit).