On 07/09/2013 08:06 PM, Jesse Gross wrote:
On Tue, Jul 9, 2013 at 9:00 AM, Thomas Graf <tg...@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
Sure
backport? Also, it doesn't need to be an atomic anymore, does it?
Correct, RTNL will serialize this. I'll respin the patch.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev