Re: [PATCH net-next v4] macvtap: add namespace support to the sysfs device class

2016-05-05 Thread David Miller
From: Marc Angel Date: Thu, 5 May 2016 12:14:26 +0200 > When creating macvtaps that are expected to have the same ifindex > in different network namespaces, only the first one will succeed. > The others will fail with a sysfs_warn_dup warning due to them trying > to create the following sysfs li

[PATCH net-next v4] macvtap: add namespace support to the sysfs device class

2016-05-05 Thread Marc Angel
When creating macvtaps that are expected to have the same ifindex in different network namespaces, only the first one will succeed. The others will fail with a sysfs_warn_dup warning due to them trying to create the following sysfs link (with 'NN' the ifindex of macvtapX): /sys/class/macvtap/tapNN