diff --git a/Kernel/Net/IPv4Socket.cpp b/Kernel/Net/IPv4Socket.cpp index f3172ef4a1..3a2d03bc64 100644 --- a/Kernel/Net/IPv4Socket.cpp +++ b/Kernel/Net/IPv4Socket.cpp @@ -435,6 +435,7 @@ KResult IPv4Socket::getsockopt(FileDescription& description, int level, int opti int IPv4Socket::ioctl(FileDescription&, unsigned request, unsigned arg) { + REQUIRE_PROMISE(inet); auto* ifr = (ifreq*)arg; if (!current->process().validate_read_typed(ifr)) return -EFAULT;