mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
net/netlink/netlink_sockif.c: Netlink sockets may be set to non-blocking.
This commit is contained in:
@@ -204,7 +204,9 @@ static int netlink_setup(FAR struct socket *psock, int protocol)
|
|||||||
|
|
||||||
static sockcaps_t netlink_sockcaps(FAR struct socket *psock)
|
static sockcaps_t netlink_sockcaps(FAR struct socket *psock)
|
||||||
{
|
{
|
||||||
return 0;
|
/* Permit vfcntl to set socket to non-blocking */
|
||||||
|
|
||||||
|
return SOCKCAP_NONBLOCKING;
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user