Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2023 19:58:35 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5ad5cf507910 - main - linux(4): Be verbose about unsupported ioctl commands on ifreq ioctl
Message-ID:  <202308171958.37HJwZZ1080223@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=5ad5cf507910a87188e53f94cb046d6faa0de2bb

commit 5ad5cf507910a87188e53f94cb046d6faa0de2bb
Author:     Alvin Chen <weike.chen_dell.com>
AuthorDate: 2023-08-17 19:57:16 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-08-17 19:57:16 +0000

    linux(4): Be verbose about unsupported ioctl commands on ifreq ioctl
    
    Differential revision:  https://reviews.freebsd.org/D39786
    MFC after:              1 month
---
 sys/compat/linux/linux_ioctl.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index 3b2727afd179..413d761520d3 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -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);
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308171958.37HJwZZ1080223>