Control: found -1 1:9.0.2+ds-5

26.08.2024 04:31, bblinux wrote:
The problem is not fixed. I saw your patch to limit open_max to
1024*1024, but the application still locks up:

$ qemu-system-x86_64 --version
QEMU emulator version 9.0.2 (Debian 1:9.0.2+ds-5)
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers

$ strace -f qemu-system-x86_64 -netdev bridge,id=n1
...
[pid 38879] close(1504358)              = -1 EBADF (Bad file descriptor)
[pid 38879] close(1504359)              = -1 EBADF (Bad file descriptor)
[pid 38879] close(1504360)              = -1 EBADF (Bad file descriptor)
..

Hah.  Nice.

There are 2 places in net/tap.c with exactly the same code.
One for -netdev tap and another for -netdev bridge.  I only
patched the first one, but not the second.

This code is.. ugly :)

Will update the patch.

Thanks,

/mjt

Reply via email to