From 5b027f5260ccf093a3349829c91949ff5548088e Mon Sep 17 00:00:00 2001 From: ligd Date: Sat, 26 Mar 2022 00:33:40 +0800 Subject: [PATCH] net: netdev_ioctl handle FIONBIO Signed-off-by: ligd --- net/netdev/netdev_ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/netdev/netdev_ioctl.c b/net/netdev/netdev_ioctl.c index 8cc035bce9..21d156afc5 100644 --- a/net/netdev/netdev_ioctl.c +++ b/net/netdev/netdev_ioctl.c @@ -1601,6 +1601,7 @@ ssize_t net_ioctl_arglen(int cmd) { switch (cmd) { + case FIONBIO: case FIONSPACE: case FIONREAD: return sizeof(int);