- remove lwip_close tests
- deactivate lwip_close in driver/char/socket to remove Pagefaults until lwip_close works correctly
This commit is contained in:
parent
9de6a8c423
commit
8c3751fca4
2 changed files with 1 additions and 4 deletions
|
@ -75,8 +75,7 @@ static int socket_close(fildes_t* file)
|
|||
{
|
||||
int ret = 0;
|
||||
#if defined(CONFIG_LWIP) && LWIP_SOCKET
|
||||
kprintf("CLOSE LWIP_FD: %i ", file->offset);
|
||||
ret = lwip_close(file->offset);
|
||||
//ret = lwip_close(file->offset);
|
||||
if (ret < 0)
|
||||
ret = -errno;
|
||||
#endif
|
||||
|
|
|
@ -226,8 +226,6 @@ int syscall_handler(uint32_t sys_nr, ...)
|
|||
}
|
||||
case __NR_close: {
|
||||
int fd = va_arg(vl, int);
|
||||
kprintf("CLOSE: %i and Tid: %i ..", fd, per_core(current_task));
|
||||
|
||||
if (fd >= 0)
|
||||
ret = sys_close(fd);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue