net/netlink/netlink_sockif.c: Netlink sockets may be set to non-blocking.

This commit is contained in:
Gregory Nutt 2019-11-19 07:50:46 -06:00
parent 936d69da1f
commit b659c74440

View File

@ -204,7 +204,9 @@ static int netlink_setup(FAR struct socket *psock, int protocol)
static sockcaps_t netlink_sockcaps(FAR struct socket *psock)
{
return 0;
/* Permit vfcntl to set socket to non-blocking */
return SOCKCAP_NONBLOCKING;
}
/****************************************************************************