]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux(4): Fix control message size calculation again
authorDmitry Chagin <dchagin@FreeBSD.org>
Mon, 14 Aug 2023 12:46:11 +0000 (15:46 +0300)
committerDmitry Chagin <dchagin@FreeBSD.org>
Mon, 14 Aug 2023 12:46:11 +0000 (15:46 +0300)
commit7d561928e65af6fe90ff9e316b2d50668c53b464
tree22e6e4adb758e8db66484fee5bf50c1da7806130
parent749a7fb588c4a872a4f1ce3ee92be86bab1b1f17
linux(4): Fix control message size calculation again

It looks Linux recvmsg allows msg_controllen size less then CMSG_SPACE
buffer, at least for case with one cmsghdr. Glibc misc/tst-scm_rights
test succed on Ubuntu 23.04

Fixes:   67116c69 "linux(4): Fix control message size calculation"
MFC after: 1 week
sys/compat/linux/linux_socket.c