CVS: cvs.openbsd.org: src

2017-11-07 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2017/11/07 17:37:18

Modified files:
sys/dev/pv : if_xnf.c 

Log message:
Fixup what looks like a merge mistake; no functional change



CVS: cvs.openbsd.org: src

2017-11-07 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2017/11/07 15:06:17

Modified files:
regress/sys/kern/sosplice: LICENSE Relay.pm 
regress/sys/kern/sosplice/scapy: scapy.pl 
Added files:
regress/sys/kern/sosplice/scapy: 
 scapy-oobinline-delay-connect.py 
 scapy-payload-delay-connect.py 

Log message:
Test more variations of TCP packets in the scapy splicing tests.
Delay connect and SYN+ACK to splice data into a connecting socket.



CVS: cvs.openbsd.org: src

2017-11-07 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2017/11/07 14:20:05

Modified files:
sys/dev/usb: if_urtwn.c 

Log message:
Prevent a potential stack buffer overrun when a urtwn(4) device
reports more than 3 bulk-out endpoints.

Problem found by Pierre Pronchery (khorben) during code inspection.

ok mpi@ kevlo@



CVS: cvs.openbsd.org: src

2017-11-07 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2017/11/07 12:15:09

Modified files:
lib/libc/gen   : sysctl.3 

Log message:
Fix spelling: bet -> net from Scott Bennett, thanks



CVS: cvs.openbsd.org: src

2017-11-07 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2017/11/07 09:51:23

Modified files:
sys/netinet: ip_ah.h ip_esp.h ip_ipcomp.h 
usr.bin/netstat: inet.c 

Log message:
Convert all the fields of {ah,esp,ipcomp}stat to uint64.

This is a preliminary step for using percpu counters with the data.

OK mpi@



CVS: cvs.openbsd.org: src

2017-11-07 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2017/11/07 09:47:07

Modified files:
sys/netinet6   : frag6.c 

Log message:
Serialize access to the IPv6 reassembly queue with a mutex.
This lets the code run without KERNEL_LOCK() and NET_LOCK().

In addition, this patch reorganizes a part of the code, to move
some of the memory release operations outside the critical section.

Input and OK mpi@, OK florian@, an earlier version OK bluhm@



CVS: cvs.openbsd.org: src

2017-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2017/11/07 09:21:59

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgCreate.pm 

Log message:
Revert previous, it breaks ports/infrastructure/bin/resolve-lib (I think)
with at least python and ruby.

ok naddy@



CVS: cvs.openbsd.org: src

2017-11-07 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2017/11/07 07:15:38

Modified files:
usr.sbin/tftpd : tftpd.8 tftpd.c 

Log message:
Add support for client-specific directories (named after the client address)

tftpd -i will look up the requested path the directory named after the
client's IP address.  For read requests, if the file is not found, there's
a fall back to its root directory.

>From Jan Klemkow with input and tweaks from at least jmc@, bluhm@,
deraadt@, sthen@, semarie@ and myself.  ok bluhm@



CVS: cvs.openbsd.org: src

2017-11-07 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2017/11/07 04:41:07

Modified files:
usr.bin/sndiod : dev.c 

Log message:
prefill with silence the buffer where cmap_copy() stores samples
rather than the client buffer. Fixes uninitialized data being treated
as recorded samples when resampling or format conversions are involved
but no mono->stereo conversion is used.



CVS: cvs.openbsd.org: src

2017-11-07 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2017/11/07 04:39:24

Modified files:
usr.bin/aucat  : aucat.c 

Log message:
prefill with silence the buffer where cmap_copy() stores samples
rather than the file buffer. Fixes initialized data being treated as
recorded samples when resampling or format conversions are involved
but mono->stereo conversion is disabled.



CVS: cvs.openbsd.org: src

2017-11-07 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2017/11/07 04:02:08

Modified files:
sys/netinet: ip_spd.c 

Log message:
Remove unused debug macro.