[PATCH] [RFC] C/R: inet4 and inet6 unicast routes (v2)

Dan Smith danms at us.ibm.com
Fri Apr 30 14:24:38 PDT 2010

DL> Is it possible to enter the namespace and dump / restore the
DL> routes with NETLINK_ROUTE from userspace ? Or is it something not
DL> possible ?

I'm sure it would be doable.  However, checkpointing the routes that
way would:

(a) Be inconsistent with how we checkpoint all the other resources,
    including the other network resources we handle from the kernel
    with rtnl
(b) Require merging of the data from the resources saved in userspace
    with those saved in kernelspace
(c) Eliminate the ability for an application to easily checkpoint
    itself by making a single syscall
(d) Require this same sort of jumping back and forth between
    namespaces by the userspace task doing the checkpoint/restart

Dan Smith
IBM Linux Technology Center
email: danms at us.ibm.com

More information about the Containers mailing list