lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ea07c16e-6bc5-0371-4b53-4bf4c75d5af8@redhat.com>
Date:   Mon, 4 Jan 2021 15:05:06 +0800
From:   Jason Wang <jasowang@...hat.com>
To:     Parav Pandit <parav@...dia.com>,
        virtualization@...ts.linux-foundation.org
Cc:     mst@...hat.com, elic@...dia.com, netdev@...r.kernel.org
Subject: Re: [PATCH linux-next v2 7/7] vdpa_sim_net: Add support for user
 supported devices


On 2021/1/4 上午11:31, Parav Pandit wrote:
>   static int __init vdpasim_net_init(void)
>   {
>   	int ret = 0;
> @@ -176,6 +264,8 @@ static int __init vdpasim_net_init(void)
>   
>   	if (default_device)
>   		ret = vdpasim_net_default_dev_register();
> +	else
> +		ret = vdpasim_net_mgmtdev_init();
>   	return ret;
>   }
>   
> @@ -183,6 +273,8 @@ static void __exit vdpasim_net_exit(void)
>   {
>   	if (default_device)
>   		vdpasim_net_default_dev_unregister();
> +	else
> +		vdpasim_net_mgmtdev_cleanup();
>   }
>   
>   module_init(vdpasim_net_init);
> -- 2.26.2


I wonder what's the value of keeping the default device that is out of 
the control of management API.

Thanks

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ