OpenVZ Forum


Home » General » Support » Using PPP in a Virtual Server
Re: Using PPP in a Virtual Server [message #5310 is a reply to message #5304] Thu, 17 August 2006 14:56 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Looks like I got it.

Try this kernel patch:
--- ./net/core/dev.c.xxx	2006-06-23 14:13:17.000000000 +0400
+++ ./net/core/dev.c	2006-08-17 18:57:58.000000000 +0400
@@ -2847,11 +2847,11 @@ int register_netdevice(struct net_device
 
 	/* When net_device's are persistent, this will be fatal. */
 	BUG_ON(dev->reg_state != NETREG_UNINITIALIZED);
-
+#if 0
 	ret = -EPERM;
 	if (!ve_is_super(get_exec_env()) && ve_is_dev_movable(dev))
 		goto out;
-
+#endif
 	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 icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How To Install Custom Template
Next Topic: VE's on differents wan subnets on 1 NH wan nic is that possible?
Goto Forum:
  


Current Time: Mon Sep 22 19:51:37 GMT 2025

Total time taken to generate the page: 0.07060 seconds