mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
vfs_lwip: log warning when blocking application
Log a warning when the lwIP VFS plugin queues a read while waiting for an interface to become ready. By comparision the Lxip plugin has the same behavior but a more verbose initialization process. Fix #3920
This commit is contained in:
committed by
Christian Helmuth
parent
b7ba508110
commit
d16a1bd922
@@ -2032,6 +2032,7 @@ class Lwip::File_system final : public Vfs::File_system, public Lwip::Directory
|
||||
if (_netif.ready()) return true;
|
||||
|
||||
/* handle must be woken when the interface comes up */
|
||||
Genode::warning("read blocked until lwIP interface is ready");
|
||||
_netif.enqueue(*vfs_handle);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user