OpenVZ Forum


Home » Mailing lists » Devel » dev_change_netns on a tunnel device
dev_change_netns on a tunnel device [message #18980] Mon, 18 June 2007 05:01 Go to previous message
Sapan Bhatia is currently offline  Sapan Bhatia
Messages: 2
Registered: June 2007
Junior Member
Hi Eric,

Are the current semantics of tunnel devices (ipip, ip_gre etc.) with
respect to changing the current netns correct? These devices have an
ip_tunnel structure associated with each net_device, which is
currently a global (not per_net). The result is that you can set up in
container X a tunnel with endpoints associated with a device in
container Y in a different network namespace. This feature seems
useful, because you can hook up containers on 2 machines with one of
these tunnels, without using etun (or like) devices, but intuitively,
it seems that the tunnel module should be listening for a
DEV_UNREGISTER and reset it when the device is migrated

Sapan
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: New pid namespaces patches testing
Next Topic: [PATCH] diskquota: 32bit quota tools on 64bit architectures
Goto Forum:
  


Current Time: Fri Oct 18 17:05:49 GMT 2024

Total time taken to generate the page: 0.04694 seconds