Re: [Qemu-devel] [PATCH] COLO-compare: Fix trace_event print bug

2017-03-12 Thread Jason Wang
On 2017年03月09日 15:40, Zhang Chen wrote: Because of inet_ntoa() return a statically allocated buffer, subsequent calls will overwrite, So we fix this bug. Signed-off-by: Zhang Chen --- net/colo-compare.c | 33 + 1 file changed, 25 insertions(+), 8 deletions(-

[Qemu-devel] [PATCH] COLO-compare: Fix trace_event print bug

2017-03-08 Thread Zhang Chen
Because of inet_ntoa() return a statically allocated buffer, subsequent calls will overwrite, So we fix this bug. Signed-off-by: Zhang Chen --- net/colo-compare.c | 33 + 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/net/colo-compare.c b/net/colo-