net: netdev_ioctl handle FIONBIO
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
d7391bf6bc
commit
5b027f5260
|
@ -1601,6 +1601,7 @@ ssize_t net_ioctl_arglen(int cmd)
|
||||||
{
|
{
|
||||||
switch (cmd)
|
switch (cmd)
|
||||||
{
|
{
|
||||||
|
case FIONBIO:
|
||||||
case FIONSPACE:
|
case FIONSPACE:
|
||||||
case FIONREAD:
|
case FIONREAD:
|
||||||
return sizeof(int);
|
return sizeof(int);
|
||||||
|
|
Loading…
Reference in New Issue