[ovs-dev] [PATCH net-next v3 1/2] datapath: Improve net-namespace compat code.

Jesse Gross jesse at nicira.com
Thu Jul 18 23:24:09 UTC 2013


On Thu, Jul 18, 2013 at 3:22 PM, Pravin B Shelar <pshelar at nicira.com> wrote:
> diff --git a/datapath/datapath.c b/datapath/datapath.c
> index 1de50c1..3b0b73d 100644
> --- a/datapath/datapath.c
> +++ b/datapath/datapath.c
> @@ -2459,6 +2459,8 @@ static struct pernet_operations ovs_net_ops = {
>         .size = sizeof(struct ovs_net),
>  };
>
> +DEFINE_COMPAT_PNET_REG_FUNC(gen_device);

Also, can we remove the 'gen' part of these names since I don't think
they are really used in new kernels?
X-CudaMail-Whitelist-To: dev at openvswitch.org



More information about the dev mailing list