net.inet.ip.forwarding=0 vs lo(4)

2020-10-17 Thread David Gwynne
this is mostly about discussion at the moment, i'm not tied to this diff at all. the problem i'm hitting is that i have a multihomed box where the service it provides listens on an IP address that's assigned to lo1. it's a host running a service, it's not a router, so the net.inet.ip.forwarding

Re: push NET_LOCK() down in pf_ioctl.c

2020-10-17 Thread Klemens Nanni
On Fri, Oct 16, 2020 at 11:37:22AM +0200, Alexandr Nedvedicky wrote: > I've just found a forgotten diff in my tree. The diff pushes the NET_LCOK() > further down in PF driver ioctl() path. The idea is to avoid sleeping while > holding a NET_LOCK(). this typically may happen when we need to

Re: mixerctl names

2020-10-17 Thread Chris Bennett
On Sat, Oct 17, 2020 at 08:26:01PM +0200, Jan Stary wrote: > I balieve this is the purpose of outputs.master - it sets the volume > for multiple widgets; outputs.master.slaves says which. See azalia(4). > > > Now I just manually changed each inputs.dac alone. > > You are not supposed to tweak

Re: mixerctl names

2020-10-17 Thread Jan Stary
On Oct 17 11:12:28, cpb_t...@bennettconstruction.us wrote: > On Sat, Oct 17, 2020 at 05:52:58PM +0200, Jan Stary wrote: > > Currently, mixerctl.conf(5) says > > > > Most devices have a number of digital to analogue converters > > (DACs), used for sound playback, and each DAC has a

Re: mixerctl names

2020-10-17 Thread Chris Bennett
On Sat, Oct 17, 2020 at 05:52:58PM +0200, Jan Stary wrote: > Currently, mixerctl.conf(5) says > > Most devices have a number of digital to analogue converters > (DACs), used for sound playback, and each DAC has a corresponding > output mixer. The mixers are labelled “mix” or

Re: [PATCH] Add USB Product ID for Logitech Webcam Pro 9000

2020-10-17 Thread Marcus Glocker
On Sat, 17 Oct 2020 14:26:49 +0100 Raf Czlonka wrote: > Ping. It's committed, thanks. > On Sun, Oct 11, 2020 at 11:33:21AM BST, Raf Czlonka wrote: > > Hi all, > > > > I just dug a Logitech Webcam Pro 9000 (for Business) out. > > > > After a quick test, it seems to be working just fine but

mixerctl names

2020-10-17 Thread Jan Stary
Currently, mixerctl.conf(5) says Most devices have a number of digital to analogue converters (DACs), used for sound playback, and each DAC has a corresponding output mixer. The mixers are labelled “mix” or “sel”. That doesn't seem to be the case, at least not universaly

Re: drm: avoid possible deadlock in kthread_stop

2020-10-17 Thread Mark Kettenis
> Date: Sat, 17 Oct 2020 16:16:01 +0200 > From: Sebastien Marie > > On Wed, Oct 14, 2020 at 08:58:04PM +0200, Mark Kettenis wrote: > > > Date: Thu, 1 Oct 2020 09:09:50 +0200 > > > From: Sebastien Marie > > > > > > Hi, > > > > > > Currently, when a process is calling kthread_stop(), it sets a

Re: drm: avoid possible deadlock in kthread_stop

2020-10-17 Thread Sebastien Marie
On Wed, Oct 14, 2020 at 08:58:04PM +0200, Mark Kettenis wrote: > > Date: Thu, 1 Oct 2020 09:09:50 +0200 > > From: Sebastien Marie > > > > Hi, > > > > Currently, when a process is calling kthread_stop(), it sets a flag > > asking the thread to stop, and enters in sleep mode, but the code > >

Re: [PATCH] Add USB Product ID for Logitech Webcam Pro 9000

2020-10-17 Thread Raf Czlonka
Ping. On Sun, Oct 11, 2020 at 11:33:21AM BST, Raf Czlonka wrote: > Hi all, > > I just dug a Logitech Webcam Pro 9000 (for Business) out. > > After a quick test, it seems to be working just fine but the > Product ID isn't pretty-printed: > > $ usbdevs | grep 0x0809 > addr 08:

httpd(8): server/location directory index question

2020-10-17 Thread mpfr
Given the following httpd.conf snippet server "example.com" { ... directory no index ... location "/foo" { ... directory auto index ... } } the URL http://example.com/foo surprisingly results in a 403

Re: Non-const basename: usr.bin/ftp

2020-10-17 Thread Jeremie Courreges-Anglas
On Thu, Oct 15 2020, Christian Weisgerber wrote: > Accommodate POSIX basename(3) that takes a non-const parameter and > may modify the string buffer. > > I've tried to follow the conventions of the existing code. > > ok? > > Index: usr.bin/ftp/fetch.c >