From: Pavel Emelyanov Date: Wed, 8 Aug 2012 21:52:46 +0000 (+0000) Subject: net: Allow to create links with given ifindex X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~352 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c7dafbfab1554705f85523fead578aa1a3d338c;p=pandora-kernel.git net: Allow to create links with given ifindex Currently the RTM_NEWLINK results in -EOPNOTSUPP if the ifinfomsg->ifi_index is not zero. I propose to allow requesting ifindices on link creation. This is required by the checkpoint-restore to correctly restore a net namespace (i.e. -- a container). Signed-off-by: Pavel Emelyanov Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed