]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
Ignore socket options not supported by LWIP
authorMarco Schlumpp <marco@unikraft.io>
Fri, 2 Feb 2024 10:07:21 +0000 (11:07 +0100)
committerRazvan Deaconescu <razvan.deaconescu@upb.ro>
Tue, 6 Feb 2024 21:53:39 +0000 (23:53 +0200)
commite500e1cfbcfceb1ea402e1ea8299bcaf01426abd
treeba5c58943eb945c89cd0b68e8e99c683d55a5870
parent6d02f1376efa448359547f339c9416e15541acfa
Ignore socket options not supported by LWIP

For IP_RECVERR never returning the error structures that the option
enables is a valid implementation. A proper implementation would require
changes to the LWIP codebase. For TCP_FASTOPEN, it would only improve
the latency and therefore we can safely ignore the option.

Signed-off-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Mihnea Firoiu <mihneafiroiu0@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #46
sockets.c