From: Alan Cox Date: Sun, 28 Aug 2016 15:59:23 +0000 (+0100) Subject: syscall_net: add a FIXME X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e7c2b1a09df0f24ed0bf7616e73a704691b237f8;p=FUZIX.git syscall_net: add a FIXME --- diff --git a/Kernel/syscall_net.c b/Kernel/syscall_net.c index c4a4a8fa..58c7a933 100644 --- a/Kernel/syscall_net.c +++ b/Kernel/syscall_net.c @@ -573,6 +573,8 @@ arg_t _sendto(void) /* Save the address and then just do a 'write' */ if (s->s_type != SOCKTYPE_TCP) { /* Use the address in atmp */ + /* FIXME: if this is allowable we either need to do this + differently or we need to block sendto + connect */ s->s_flag |= SFLAG_ATMP; if (sa_getremote(&uaddr->sio_addr, &sin) == -1) return -1;