Searched hist:"19307 b86d31b7dea4bb5c3f7e233ee0e59049258" (Results 1 – 2 of 2) sorted by relevance
/freebsd/tests/sys/kern/ |
H A D | socket_accf.c | diff 19307b86d31b7dea4bb5c3f7e233ee0e59049258 Thu Apr 25 06:50:58 CEST 2024 Gleb Smirnoff <glebius@FreeBSD.org> accept_filter: return different errors for non-listener and a busy socket
The fact that an accept filter needs to be cleared first before setting to a different one isn't properly documented. The requirement that the socket needs already be listening, although trivial, isn't documented either. At least return a more meaningful error than EINVAL for an existing filter. Cover this with a test case.
|
/freebsd/sys/kern/ |
H A D | uipc_accf.c | diff 19307b86d31b7dea4bb5c3f7e233ee0e59049258 Thu Apr 25 06:50:58 CEST 2024 Gleb Smirnoff <glebius@FreeBSD.org> accept_filter: return different errors for non-listener and a busy socket
The fact that an accept filter needs to be cleared first before setting to a different one isn't properly documented. The requirement that the socket needs already be listening, although trivial, isn't documented either. At least return a more meaningful error than EINVAL for an existing filter. Cover this with a test case.
|