Statistics
| Branch: | Revision:

root / net @ 885660bd

Name Size
checksum.c 2.2 kB
checksum.h 1.1 kB
dump.c 4.1 kB
dump.h 1.3 kB
queue.c 7.5 kB
queue.h 2.9 kB
slirp.c 21.5 kB
slirp.h 1.8 kB
socket.c 17.6 kB
socket.h 1.4 kB
tap-aix.c 1.7 kB
tap-bsd.c 4 kB
tap-haiku.c 1.7 kB
tap-linux.c 5.5 kB
tap-linux.h 1.8 kB
tap-solaris.c 6.2 kB
tap-win32.c 21.1 kB
tap.c 13.3 kB
tap.h 2.3 kB
util.c 1.9 kB
util.h 1.3 kB
vde.c 3.5 kB
vde.h 1.4 kB

Latest revisions

# Date Author Comment
885660bd 12/15/2011 06:22 pm Michael Roth

network scripts: don't block SIGCHLD before forking

This patch fixes a bug where child processes of launch_script() can
misbehave due to SIGCHLD being blocked. In the case of `sudo`, this
causes a permanent hang.

Previously a SIGCHLD handler was added to reap fork_exec()'d zombie...

9423a2e8 12/14/2011 03:59 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging

842480d4 12/13/2011 01:06 am Stefan Hajnoczi

net: expand tabs in net/socket.c

In order to make later patches sane, expand the tab characters and
conform to QEMU coding style now.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Anthony Liguori <>

e5d1fca0 12/13/2011 01:06 am Stefan Hajnoczi

net: take ownership of fd in socket init functions

Today net/socket.c has no consistent policy for closing the socket file
descriptor when initialization fails. This means we leak the file
descriptor in some cases or we could also try to close it twice....

c7ee8f68 12/06/2011 11:56 am Zhi Hui Li

net/socket.c : fix memory leak

Signed-off-by: Li Zhi Hui <>
Signed-off-by: Stefan Hajnoczi <>

3a93113a 12/06/2011 11:56 am Dong Xu Wang

fix typo: delete redundant semicolon

Double semicolons should be single.

Signed-off-by: Dong Xu Wang <>
Signed-off-by: Stefan Hajnoczi <>

e30e5eb6 11/22/2011 01:11 pm Markus Armbruster

slirp: Clean up net_slirp_hostfwd_remove()'s use of get_str_sep()

get_str_sep() can fail, but net_slirp_hostfwd_remove() doesn't check.
Works, because it initializes buf[] to "", which get_str_sep() doesn't
touch when it fails. Coverity doesn't like it, and neither do I....

93a7320e 11/01/2011 08:23 am Luiz Capitulino

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....

e2d8830e 09/03/2011 08:45 pm Brad

Allow overriding the location of Samba's smbd.

Allow overriding the location of Samba's smbd.

Pretty much every OS I look at has some means of
changing this path (patching) so lets just make
it easier for OS developers creating packages
and/or end users to override the location....

27143a44 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_open() -> qemu_chr_new()

Signed-off-by: Anthony Liguori <>

View revisions

Also available in: Atom