tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Specifying names for tap interfaces
On Tue, 19 Jun 2012 10:46:40 +0100
Roger Pau Monne <roger.pau%citrix.com@localhost> wrote:
> http://www.kernel.org/doc/Documentation/networking/tuntap.txt
When looking at the Linux code it seems that the TUNSETIFF ioctl(2) is
mandatory to have the interface created/attached, and that in the case
of a supplied IFNAMSIZ sized string it'll apply the name at interface
creation, not rename it after creating it automatically at open(2)
time. Thus avoiding the possible race condition I mentionned IRT a
system that'd track interface creation.
--
Matt
Home |
Main Index |
Thread Index |
Old Index