mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 18:14:56 +08:00
Update to FreeBSD head 2017-12-01
Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
This commit is contained in:
@@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/domain.h>
|
||||
#include <sys/protosw.h>
|
||||
#include <sys/socket.h>
|
||||
#define _WANT_SOCKET
|
||||
#include <sys/socketvar.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
@@ -184,7 +185,7 @@ sotoxsocket(struct socket *so, struct xsocket *xso)
|
||||
xso->xso_family = domain.dom_family;
|
||||
xso->so_timeo = so->so_timeo;
|
||||
xso->so_error = so->so_error;
|
||||
if (SOLISTENING(so)) {
|
||||
if ((so->so_options & SO_ACCEPTCONN) != 0) {
|
||||
xso->so_qlen = so->sol_qlen;
|
||||
xso->so_incqlen = so->sol_incqlen;
|
||||
xso->so_qlimit = so->sol_qlimit;
|
||||
|
Reference in New Issue
Block a user