On Fri, Apr 19, 2013 at 7:01 AM, Thomas Graf <tg...@redhat.com> wrote:
> diff --git a/datapath/vport-netdev.c b/datapath/vport-netdev.c
> index f8948fa..c0e3c02 100644
> --- a/datapath/vport-netdev.c
> +++ b/datapath/vport-netdev.c
> @@ -153,10 +161,16 @@ static struct vport *netdev_create(const struct 
> vport_parms *parms)
>         }
>
>         rtnl_lock();
> +#ifdef HAVE_RHEL_OVS_HOOK
> +       netdev_vport->dev->ax25_ptr = vport;
> +       atomic_inc(&nr_bridges);
> +       openvswitch_handle_frame_hook = netdev_frame_hook;

Shouldn't these assignments use rcu_assign_pointer?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to