linux(4): Be verbose about unsupported ioctl commands on ifreq ioctl

Differential revision:	https://reviews.freebsd.org/D39786
MFC after:		1 month
This commit is contained in:
Alvin Chen 2023-08-17 22:57:16 +03:00 committed by Dmitry Chagin
parent 1f2b31f76e
commit 5ad5cf5079

View File

@ -2289,6 +2289,9 @@ linux_ioctl_socket_ifreq(struct thread *td, int fd, u_int cmd,
cmd = SIOCGPRIVATE_1;
break;
default:
LINUX_RATELIMIT_MSG_OPT2(
"ioctl_socket_ifreq fd=%d, cmd=0x%x is not implemented",
fd, cmd);
return (ENOIOCTL);
}