[LTP] [PATCH v1] netns_netlink: Ensure tuntap is enabled in kernel

Bogdan Lezhepekov bogdan.lezhepekov@suse.com
Thu Nov 4 14:51:14 CET 2021


Hi Cyril,

I was missing that it's possible with the test API. Then of course it would be better.

Should I submit V2?

Thanks,
Bogdan

________________________________
From: Cyril Hrubis <chrubis@suse.cz>
Sent: Thursday, November 4, 2021 15:26
To: Bogdan Lezhepekov <bogdan.lezhepekov@suse.com>
Cc: ltp@lists.linux.it <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v1] netns_netlink: Ensure tuntap is enabled in kernel

Hi!
>  testcases/kernel/containers/netns/netns_netlink.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/testcases/kernel/containers/netns/netns_netlink.c b/testcases/kernel/containers/netns/netns_netlink.c
> index ddd8ce910..f9ae255f5 100644
> --- a/testcases/kernel/containers/netns/netns_netlink.c
> +++ b/testcases/kernel/containers/netns/netns_netlink.c
> @@ -120,6 +120,7 @@ static struct tst_test test = {
>        .forks_child = 1,
>        .needs_kconfigs = (const char *[]) {
>                "CONFIG_NET_NS=y",
> +             "CONFIG_TUN=y",

Shouldn't that be just "CONFIG_TUN" as that would match both
"CONFIG_TUN=y" and "CONFIG_TUN=m"?

--
Cyril Hrubis
chrubis@suse.cz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20211104/5ff02b9b/attachment-0001.htm>


More information about the ltp mailing list