[PATCH] Reordering how tap is initialized

2009-08-14 Thread Stephane Bakhos
This is my first patch, so I apoligize for breaking any convention. This patch modifies the order used in net.c for tap initialization. It runs the script before the device is opened. This permits the creation of the tap device via a script instead of having to do it in advance. It also waits

Re: [PATCH] Reordering how tap is initialized

2009-08-14 Thread Stephane Bakhos
Stephane Bakhos wrote: This is my first patch, so I apoligize for breaking any convention. This patch modifies the order used in net.c for tap initialization. It runs the script before the device is opened. This will break existing scripts that do not rely on explicitly setting ifname=

Re: [PATCH] Reordering how tap is initialized

2009-08-14 Thread Anthony Liguori
Stephane Bakhos wrote: Stephane Bakhos wrote: This is my first patch, so I apoligize for breaking any convention. This patch modifies the order used in net.c for tap initialization. It runs the script before the device is opened. This will break existing scripts that do not rely on