net: netdev_ioctl handle FIONBIO

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2022-03-26 00:33:40 +08:00 committed by Xiang Xiao
parent d7391bf6bc
commit 5b027f5260
1 changed files with 1 additions and 0 deletions

View File

@ -1601,6 +1601,7 @@ ssize_t net_ioctl_arglen(int cmd)
{
switch (cmd)
{
case FIONBIO:
case FIONSPACE:
case FIONREAD:
return sizeof(int);