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:
parent
1f2b31f76e
commit
5ad5cf5079
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user