OpenVZ Forum


Home » General » Support » openvpn and tap/bridging with a "dummy" network adapter?
Re: openvpn and tap/bridging with a "dummy" network adapter? [message #1799 is a reply to message #1796] Fri, 24 February 2006 21:31 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

ok, resolved. can you please apply the following patch?

--- ./net/core/dev.c.tst	2006-01-11 22:13:22.000000000 +0300
+++ ./net/core/dev.c	2006-02-25 00:29:45.000000000 +0300
@@ -3036,10 +3036,6 @@
 	/* When net_device's are persistent, this will be fatal. */
 	BUG_ON(dev->reg_state != NETREG_UNINITIALIZED);
 
-	ret = -EPERM;
-	if (!ve_is_super(get_exec_env()) && ve_is_dev_movable(dev))
-		goto out;
-
 	spin_lock_init(&dev->queue_lock);
 	spin_lock_init(&dev->xmit_lock);
 	dev->xmit_lock_owner = -1;


http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VPS cannot shutdown
Next Topic: Using Ksplice for kernel updates
Goto Forum:
  


Current Time: Tue Jan 27 01:38:07 GMT 2026

Total time taken to generate the page: 0.50662 seconds