qemu-patch-raspberry4/net
Luiz Capitulino 93a7320e32 net: tap-linux: Fix unhelpful error message
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 <lcapitulino@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2011-11-01 06:23:48 +00:00
..
checksum.c
checksum.h
dump.c
dump.h
queue.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
queue.h
slirp.c Allow overriding the location of Samba's smbd. 2011-09-03 17:45:48 +00:00
slirp.h
socket.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
socket.h
tap-aix.c
tap-bsd.c Fix network interface tap backend 2011-08-07 09:48:59 +00:00
tap-haiku.c
tap-linux.c net: tap-linux: Fix unhelpful error message 2011-11-01 06:23:48 +00:00
tap-linux.h
tap-solaris.c
tap-win32.c
tap.c
tap.h
util.c
util.h
vde.c
vde.h