]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
sockets.c: Make select() not return errors when using it with file descriptor types...
authorCostin Lupu <costin.lupu@cs.pub.ro>
Sat, 16 Nov 2019 21:50:52 +0000 (23:50 +0200)
committerCostin Lupu <costin.lup@gmail.com>
Sun, 17 Nov 2019 10:43:08 +0000 (12:43 +0200)
commitaee924ba854034f8b085a429802e043b9f0de446
tree721c3263ec0ad93caad2b6867f984d246fc3ef2e
parente5f941b7d68e2bc322a544759ec7d33fd291a166
sockets.c: Make select() not return errors when using it with file descriptor types other than sockets

lwip's select() implementation supports only sockets. Up until now, we returned
errors when using select() with other file descriptor types. These changes make
it possible to use other file descriptor types as well, even though they will
be ignored.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Stefan Teodorescu <stefanl.teodorescu@gmail.com>
Config.uk
sockets.c