On Mon, 9 Oct 2023 06:28:00 -0700 Breno Leitao wrote: > Correct. The current discussion is only related to optlen in the > getsockopt() callbacks (invoked when level != SOL_SOCKET). Everything > else (getsockopt(level=SOL_SOCKET..) and setsockopt) is using sockptr. > > Is it bad if we review/merge this code as is (using sockptr), and start > the iov_iter/getsockopt() refactor in a follow-up thread? Sorry for the delay, I only looked at the code now :S Agreed, that there's no need to worry about the sockptr spread in this series. It looks good to go in.