CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/08/07 08:35:38
Modified files:
sys/kern : uipc_socket.c
Log message:
sosplice(9): fully validate idle timeout
The socket splice idle timeout is a timeval, so we need to check that
tv_usec is both non-negative and less than one million. Otherwise it
isn't in canonical form.
We can check for this with timerisvalid(3).
benno@ says this shouldn't break anything in base.
ok benno@, bluhm@
