From: Ben Pfaff Date: Fri, 7 Aug 2009 17:30:48 +0000 (-0700) Subject: brcompat: Remove requirement that that no datapaths exist at load time. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dac2b9ed9d77a92f53258f694117fa8b989aacb;p=openvswitch brcompat: Remove requirement that that no datapaths exist at load time. We previously required that brcompat_mod be loaded before any datapaths were created, because creation and destruction of datapaths and ports differed when brcompat_mod was loaded, but the latter is no longer the case so there is no reason for the former anymore. --- diff --git a/datapath/brcompat.c b/datapath/brcompat.c index 10b94f73..dfcc768e 100644 --- a/datapath/brcompat.c +++ b/datapath/brcompat.c @@ -515,21 +515,10 @@ error: static int __init brc_init(void) { - int i; int err; printk("Open vSwitch Bridge Compatibility, built "__DATE__" "__TIME__"\n"); - rcu_read_lock(); - for (i=0; i