On Fri, Oct 14, 2011 at 03:05:10PM -0300, Luiz Capitulino wrote:
> I'm getting:
> 
>     could not configure /dev/net/tun (tap%d): Operation not permitted
> 
> When the ioctl() fails, ifr.ifr_name will most likely not be overwritten.
> So we better only use it when ifname contains a string.
> 
> Signed-off-by: Luiz Capitulino <lcapitul...@redhat.com>
> ---
> 
> PS: Trivial tree candidate.
> 
>  net/tap-linux.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)

Thanks, applied to the trivial patches -next tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next

Stefan

Reply via email to