Re: [Qemu-devel] [PULL V2 01/26] filter-rewriter: Add TCP state machine and fix memory leak in connection_track_table

2018-10-29 Thread Zhang Chen
On Tue, Oct 30, 2018 at 10:02 AM Jason Wang wrote: > > On 2018/10/29 下午7:01, Peter Maydell wrote: > > On 19 October 2018 at 04:22, Jason Wang wrote: > >> From: Zhang Chen > >> > >> We add almost full TCP state machine in filter-rewriter, except > >> TCPS_LISTEN and some simplify in VM active

Re: [Qemu-devel] [PULL V2 01/26] filter-rewriter: Add TCP state machine and fix memory leak in connection_track_table

2018-10-29 Thread Jason Wang
On 2018/10/29 下午7:01, Peter Maydell wrote: On 19 October 2018 at 04:22, Jason Wang wrote: From: Zhang Chen We add almost full TCP state machine in filter-rewriter, except TCPS_LISTEN and some simplify in VM active close FIN states. The reason for this simplify job is because guest kernel

Re: [Qemu-devel] [PULL V2 01/26] filter-rewriter: Add TCP state machine and fix memory leak in connection_track_table

2018-10-29 Thread Peter Maydell
On 19 October 2018 at 04:22, Jason Wang wrote: > From: Zhang Chen > > We add almost full TCP state machine in filter-rewriter, except > TCPS_LISTEN and some simplify in VM active close FIN states. > The reason for this simplify job is because guest kernel will track > the TCP status and wait

[Qemu-devel] [PULL V2 01/26] filter-rewriter: Add TCP state machine and fix memory leak in connection_track_table

2018-10-18 Thread Jason Wang
From: Zhang Chen We add almost full TCP state machine in filter-rewriter, except TCPS_LISTEN and some simplify in VM active close FIN states. The reason for this simplify job is because guest kernel will track the TCP status and wait 2MSL time too, if client resend the FIN packet, guest will