public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f7fcc
)
syscall_net: add a FIXME
author
Alan Cox
<alan@linux.intel.com>
Sun, 28 Aug 2016 15:59:23 +0000
(16:59 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 28 Aug 2016 15:59:23 +0000
(16:59 +0100)
Kernel/syscall_net.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_net.c
b/Kernel/syscall_net.c
index
c4a4a8f
..
58c7a93
100644
(file)
--- 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;