Re: Dumping uaudio(4) frames

2018-02-20 Thread Alexandre Ratchov
On Tue, Feb 20, 2018 at 03:05:33PM +0100, Martin Pieuchot wrote: > Diff below implements the USBPcap interface for dumping USB isochronous > frames. It can be very useful to analyze what the stack is doing. Note > that tcpdump(8)'s snaplen default is too small to capture such frames. I > used the

Re: ifconfig: add -rdomain option

2018-02-20 Thread Ayaka Koshibe
On Tue, Feb 20, 2018 at 5:08 AM, Stefan Sperling wrote: > On Mon, Feb 19, 2018 at 05:09:58PM -0800, Ayaka Koshibe wrote: >> Index: sbin/ifconfig/ifconfig.c >> === >> RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v >> retrieving revision

Re: ifconfig: add -rdomain option

2018-02-20 Thread Theo de Raadt
If you read through all the options in the manual page carefully, ifconfig is not consistant. As a result it cannot use getopt. It isn't a POSIX argument grammar. It grew up with that funky table, and there we are. Both cases occur. "-option argument" and "-option". There is even at least one

Re: ifconfig: add -rdomain option

2018-02-20 Thread Ayaka Koshibe
On Tue, Feb 20, 2018 at 4:48 AM, Reyk Floeter wrote: > >> Am 20.02.2018 um 11:15 schrieb Klemens Nanni : >> >>> On Mon, Feb 19, 2018 at 05:09:58PM -0800, Ayaka Koshibe wrote: >>> This diff would allow saying 'ifconfig foo -rdomain' instead of 'ifconfig >>> foo rdomain 0'. >> I can see where you'r

Re: Dumping uaudio(4) frames

2018-02-20 Thread Michael W. Bombardieri
On Tue, Feb 20, 2018 at 03:05:33PM +0100, Martin Pieuchot wrote: > Diff below implements the USBPcap interface for dumping USB isochronous > frames. It can be very useful to analyze what the stack is doing. Note > that tcpdump(8)'s snaplen default is too small to capture such frames. I > used the

pf generic packet delay

2018-02-20 Thread Henning Brauer
Here comes generic delay functionality for pf. The manpage bits are missing for the moment, but it's really simple to use: match in set delay 1 delay is in ms. should I change the parser to explicitely require "ms", as in "match in set delay 1ms"? I have a pool_sethardlimit as a "last res

match linux i915 ioctl numbers (xenocara)

2018-02-20 Thread Jonathan Gray
Correct a pointless longstanding difference in ioctl numbering between linux and add back struct members. Avoids diffs in inteldrm, libdrm and Mesa >= 17.2. This breaks ioctl compat. Index: include/drm/i915_drm.h === RCS file: /cvs/

match linux i915 ioctl numbers (src)

2018-02-20 Thread Jonathan Gray
Correct a pointless longstanding difference in ioctl numbering between linux and add back struct members. Avoids diffs in inteldrm, libdrm and Mesa >= 17.2. This breaks ioctl compat. Index: i915_drm.h === RCS file: /cvs/src/sys/dev/

Re: arm64 MP

2018-02-20 Thread Otto Moerbeek
On Tue, Feb 20, 2018 at 07:52:49PM +0100, Otto Moerbeek wrote: > On Tue, Feb 20, 2018 at 08:58:47AM +0100, Otto Moerbeek wrote: > > > On Tue, Feb 20, 2018 at 08:52:20AM +0100, Mark Kettenis wrote: > > > > > > Date: Mon, 19 Feb 2018 13:49:48 +0100 (CET) > > > > From: Mark Kettenis > > > > > > >

Re: arm64 MP

2018-02-20 Thread Otto Moerbeek
On Tue, Feb 20, 2018 at 08:58:47AM +0100, Otto Moerbeek wrote: > On Tue, Feb 20, 2018 at 08:52:20AM +0100, Mark Kettenis wrote: > > > > Date: Mon, 19 Feb 2018 13:49:48 +0100 (CET) > > > From: Mark Kettenis > > > > > > The diff below attempts to make the arm64 pmap "mpsafe" and enables MP > > >

Dumping uaudio(4) frames

2018-02-20 Thread Martin Pieuchot
Diff below implements the USBPcap interface for dumping USB isochronous frames. It can be very useful to analyze what the stack is doing. Note that tcpdump(8)'s snaplen default is too small to capture such frames. I used the following to analyze uaudio(4) traffic on ehci(4): # tcpdump -s 3303

Re: ifconfig: add -rdomain option

2018-02-20 Thread Stefan Sperling
On Mon, Feb 19, 2018 at 05:09:58PM -0800, Ayaka Koshibe wrote: > Index: sbin/ifconfig/ifconfig.c > === > RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v > retrieving revision 1.353 > diff -u -p -u -p -r1.353 ifconfig.c > --- sbin/ifconfi

Re: ifconfig: add -rdomain option

2018-02-20 Thread Reyk Floeter
> Am 20.02.2018 um 11:15 schrieb Klemens Nanni : > >> On Mon, Feb 19, 2018 at 05:09:58PM -0800, Ayaka Koshibe wrote: >> This diff would allow saying 'ifconfig foo -rdomain' instead of 'ifconfig >> foo rdomain 0'. > I can see where you're coming from but this breaks semantics: `-option' > clears

Re: Mark setrtable(2) as NOLOCK

2018-02-20 Thread Martin Pieuchot
On 19/02/18(Mon) 16:31, Mark Kettenis wrote: > > Date: Mon, 19 Feb 2018 16:22:30 +0100 > > From: Martin Pieuchot > > > > Now that suser() is no longer messing with a per-process field, we > > can directly turn setrtable(2) as NOLOCK. > > > > Apart from sanity checks this syscall writes an int-si

Re: arm64 MP

2018-02-20 Thread Mark Kettenis
> Date: Tue, 20 Feb 2018 08:52:20 +0100 (CET) > From: Mark Kettenis > > > Date: Mon, 19 Feb 2018 13:49:48 +0100 (CET) > > From: Mark Kettenis > > > > The diff below attempts to make the arm64 pmap "mpsafe" and enables MP > > support. This diff survived a full build on my Firefly-RK3399 board.

Re: ifconfig: add -rdomain option

2018-02-20 Thread Klemens Nanni
On Mon, Feb 19, 2018 at 05:09:58PM -0800, Ayaka Koshibe wrote: > This diff would allow saying 'ifconfig foo -rdomain' instead of 'ifconfig foo > rdomain 0'. I can see where you're coming from but this breaks semantics: `-option' clears an optional parameter or deconfigures functionality whereas `r

NSD 4.1.20 (leak fixes: nsec3 and "unknown rr"-formatted RRs)

2018-02-20 Thread Stuart Henderson
Here's a bug fix update to NSD 4.1.20, no problems seen here. Any others tests/OKs? Release notes: BUG FIXES: - Fix memory leak in zone file read of unknown rr formatted RRs. - Fix memory leak when rehashing nsec3 after axfr or zonefile read, in the selectively allocated precompiled nsec3 hashe

Re: mpath cloning routes and cloned routes

2018-02-20 Thread Florian Riehm
On 02/19/18 11:01, Martin Pieuchot wrote: On 14/02/18(Wed) 21:53, Florian Riehm wrote: If we delete cloning routes, we also delete their cloned routes. This doesn't make sense if we delete a multipath cloning route and may result in broken gateway routes: That's a bug! # netstat -rn | grep 1