[ovs-dev] [PATCH 3/3] datapath: rhel: Move RHEL OVS hook registration to netdev_rx_handler_register() backport
Jesse Gross
jesse at nicira.com
Tue Jul 9 18:06:12 UTC 2013
On Tue, Jul 9, 2013 at 9:00 AM, Thomas Graf <tgraf at redhat.com> wrote:
> diff --git a/datapath/vport-netdev.c b/datapath/vport-netdev.c
> index fe7e359..d043eae 100644
> --- a/datapath/vport-netdev.c
> +++ b/datapath/vport-netdev.c
> @@ -46,9 +46,8 @@ MODULE_PARM_DESC(vlan_tso, "Enable TSO for VLAN packets");
> #endif
>
> #ifdef HAVE_RHEL_OVS_HOOK
> -static atomic_t nr_bridges = ATOMIC_INIT(0);
> +atomic_t nr_bridges = ATOMIC_INIT(0);
>
> -extern struct sk_buff *(*openvswitch_handle_frame_hook)(struct sk_buff *skb);
> #endif
Can we push this into netdev.c to even further encapsulate the
backport? Also, it doesn't need to be an atomic anymore, does it?
X-CudaMail-Whitelist-To: dev at openvswitch.org
More information about the dev
mailing list