[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] COLO-proxy: Fix argument check error
commit ba7a5da15ee85a88d18749c5aa30b3a19ab69d45 Author: Zhang Chen <zhangchen.fnst@xxxxxxxxxxxxxx> AuthorDate: Thu Mar 23 19:43:55 2017 +0800 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Thu Mar 23 12:00:44 2017 +0000 COLO-proxy: Fix argument check error Here, we should check the 'outdev' before use. Signed-off-by: Zhang Chen <zhangchen.fnst@xxxxxxxxxxxxxx> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- tools/libxl/libxl_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index 4344c53..f8ba859 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -1293,7 +1293,7 @@ static int libxl__build_device_model_args_new(libxl__gc *gc, nics[i].colo_filter_sec_redirector0_indev)); } if (nics[i].colo_filter_sec_redirector1_queue && - nics[i].colo_filter_sec_redirector1_indev) { + nics[i].colo_filter_sec_redirector1_outdev) { flexarray_append(dm_args, "-object"); flexarray_append(dm_args, GCSPRINTF("filter-redirector,id=rs2,netdev=net%d,queue=%s,outdev=%s", -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |