linux(4): Ratelimit message about unupported cmsg

MFC after:		2 weeks
This commit is contained in:
Dmitry Chagin 2022-05-28 23:48:16 +03:00
parent f8a6615064
commit 31d7f3e9ce

View File

@ -1819,7 +1819,7 @@ linux_recvmsg_common(struct thread *td, l_int s, struct l_msghdr *msghdr,
if (lcm->cmsg_type == -1 ||
cm->cmsg_level != SOL_SOCKET) {
linux_msg(curthread,
LINUX_RATELIMIT_MSG_OPT2(
"unsupported recvmsg cmsg level %d type %d",
cm->cmsg_level, cm->cmsg_type);
error = EINVAL;