Repository navigation
Commit 317f481
rtnl: allow to create device with IFLA_LINK_NETNSID set
This patch adds the ability to create a netdevice in a specified netns and
then move it into the final netns. In fact, it allows to have a symetry between
get and set rtnl messages.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 1728d4f commit 317f481
1 file changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1248 | 1248 | | |
1249 | 1249 | | |
1250 | 1250 | | |
| 1251 | + | |
1251 | 1252 | | |
1252 | 1253 | | |
1253 | 1254 | | |
| |||
2021 | 2022 | | |
2022 | 2023 | | |
2023 | 2024 | | |
2024 | | - | |
| 2025 | + | |
2025 | 2026 | | |
2026 | 2027 | | |
2027 | 2028 | | |
| |||
2127 | 2128 | | |
2128 | 2129 | | |
2129 | 2130 | | |
2130 | | - | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
2131 | 2143 | | |
2132 | 2144 | | |
2133 | 2145 | | |
| |||
2155 | 2167 | | |
2156 | 2168 | | |
2157 | 2169 | | |
2158 | | - | |
| 2170 | + | |
2159 | 2171 | | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
2160 | 2177 | | |
| 2178 | + | |
| 2179 | + | |
2161 | 2180 | | |
2162 | 2181 | | |
2163 | 2182 | | |
| |||
0 commit comments