<div dir="ltr">Do you recall why the patches weren't accepted? Is this just something CRIU isn't interested in supporting?</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 9, 2015 at 8:25 AM Andrew Vagin <<a href="mailto:avagin@odin.com">avagin@odin.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Oct 08, 2015 at 11:27:08PM +0000, Ross Boucher wrote:<br>
> I'm now separately seeing this failure when checkpointing:<br>
><br>
> (00.163078) Error (sk-inet.c:211): Socket state 8 obtained but expected 7<br>
Here are all states:<br>
<br>
1 TCP_ESTABLISHED = 1,<br>
2 TCP_SYN_SENT,<br>
3 TCP_SYN_RECV,<br>
4 TCP_FIN_WAIT1,<br>
5 TCP_FIN_WAIT2,<br>
6 TCP_TIME_WAIT,<br>
7 TCP_CLOSE,<br>
8 TCP_CLOSE_WAIT,<br>
9 TCP_LAST_ACK,<br>
10 TCP_LISTEN,<br>
11 TCP_CLOSING, /* Now a valid state */<br>
12 TCP_NEW_SYN_RECV,<br>
<br>
criu supports only TCP_LISTEN, TCP_CLOSE, TCP_ESTABLISHED<br>
<br>
I added TCP_CLOSE_WAIT, TCP_CLOSING, TCP_LAST_ACK, TCP_FIN_WAIT1,<br>
TCP_FIN_WAIT2, but these patches were not committed.<br>
<br>
><br>
><br>
><br>
> On Thu, Oct 8, 2015 at 2:57 PM Ross Boucher <<a href="mailto:rboucher@gmail.com" target="_blank">rboucher@gmail.com</a>> wrote:<br>
><br>
> > Seems like the issue was that I was calling shutdown on a socket without<br>
> > closing it.<br>
> ><br>
> > On Thu, Oct 8, 2015 at 2:25 PM Ross Boucher <<a href="mailto:rboucher@gmail.com" target="_blank">rboucher@gmail.com</a>> wrote:<br>
> ><br>
> >> Does anyone have an idea of what might cause this failure:<br>
> >> (00.174924) Error (sk-inet.c:211): Socket state 4 obtained but expected 7<br>
> >><br>
> >> -Ross<br>
> >><br>
> ><br>
<br>
> _______________________________________________<br>
> CRIU mailing list<br>
> <a href="mailto:CRIU@openvz.org" target="_blank">CRIU@openvz.org</a><br>
> <a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
<br>
</blockquote></div>