Date: Sun, 17 Jan 2021 20:32:36 GMT From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 74935ce881ea - main - Enable running fib tests inside vnet jail. Message-ID: <202101172032.10HKWaHQ046020@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=74935ce881ea7d0abdd59ccae10c6593d4ac14e6 commit 74935ce881ea7d0abdd59ccae10c6593d4ac14e6 Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2021-01-17 19:46:56 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2021-01-17 20:32:26 +0000 Enable running fib tests inside vnet jail. --- sys/tests/fib_lookup/fib_lookup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/tests/fib_lookup/fib_lookup.c b/sys/tests/fib_lookup/fib_lookup.c index b48fdfb5630e..3dd1bb8d5a50 100644 --- a/sys/tests/fib_lookup/fib_lookup.c +++ b/sys/tests/fib_lookup/fib_lookup.c @@ -219,7 +219,7 @@ run_test_inet(SYSCTL_HANDLER_ARGS) return (0); } SYSCTL_PROC(_net_route_test, OID_AUTO, run_inet, - CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, + CTLFLAG_VNET | CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, 0, 0, run_test_inet, "I", "Execute fib4_lookup test"); static uint64_t @@ -283,7 +283,7 @@ run_test_inet6(SYSCTL_HANDLER_ARGS) return (0); } SYSCTL_PROC(_net_route_test, OID_AUTO, run_inet6, - CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, + CTLFLAG_VNET | CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, 0, 0, run_test_inet6, "I", "Execute fib6_lookup test"); static bool @@ -389,7 +389,7 @@ run_test_inet_random(SYSCTL_HANDLER_ARGS) return (0); } SYSCTL_PROC(_net_route_test, OID_AUTO, run_inet_random, - CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, + CTLFLAG_VNET | CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, 0, 0, run_test_inet_random, "I", "Execute fib4_lookup random check tests"); @@ -502,7 +502,7 @@ run_test_inet_scan(SYSCTL_HANDLER_ARGS) return (0); } SYSCTL_PROC(_net_route_test, OID_AUTO, run_inet_scan, - CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, + CTLFLAG_VNET | CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, 0, 0, run_test_inet_scan, "I", "Execute fib4_lookup scan tests");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101172032.10HKWaHQ046020>