Re: vmd: reset queue_size if queue_select is invalid

2017-08-04 Thread Mike Larkin
On Wed, Jul 26, 2017 at 09:37:30PM -0700, Nick Owens wrote: > hello tech@, > > here is a diff that will follow the virtio spec a little closer, and > allows 9front's (http://9front.org) virtio-blk driver to correctly find > the number of queues. i know that virtio-blk only has one queue, but >

Update inaccurate comment in rasops(9)

2017-08-04 Thread Frederic Cambus
Hi tech@, Update inaccurate comment: rasops_copycols() doesn't use bcopy() anymore, but either memmove() or slow_bcopy(). Comments? OK? Index: sys/dev/rasops/rasops.c === RCS file: /cvs/src/sys/dev/rasops/rasops.c,v retrieving

Re: so{s,g}etopt() & solock

2017-08-04 Thread Alexander Bluhm
On Wed, Aug 02, 2017 at 11:03:13AM +0200, Martin Pieuchot wrote: > Diff below moves the socket lock "above" sosetopt(), sogetopt() and > sosplice(). While this adds a lot of lock/unlock dances in NFS, they > will be merge in a later diff. > > sosetopt() modifies a socket fields so it needs the

Re: inform userland on ifconfig $if -inet6

2017-08-04 Thread Alexander Bluhm
On Fri, Aug 04, 2017 at 07:51:22PM +, Florian Obser wrote: > Yes, I was thinking about that, too. it's a bit more complex. I think > it's worth it, especially if we ever have a autoconf4 flag. The > trouble with the SIOCIFAFDETACH that have to track if a flag changes. > this applies the heavy

Re: nd6 address expiration & NET_LOCK() contention

2017-08-04 Thread Alexander Bluhm
On Wed, Aug 02, 2017 at 11:24:10AM +0200, Martin Pieuchot wrote: > Florian killed the default router and prefix lists from the kernel. So > nd6_timer() is now only doing address expiration based on pltime/vltime. > > Diff below renames the function and kill outdated comments to reflect > the

Re: cleanup nd6_free next pointer

2017-08-04 Thread Florian Obser
OK florian@ On Fri, Aug 04, 2017 at 09:21:31PM +0200, Alexander Bluhm wrote: > Hi, > > Since we have TAILQ_FOREACH_SAFE in nd6_purge() it is not necessary > that nd6_free() advances the next pointer itself. Make nd6_free() > a void function and remove unused parameter gc. > > ok? > > bluhm >

Re: inform userland on ifconfig $if -inet6

2017-08-04 Thread Florian Obser
On Fri, Aug 04, 2017 at 06:04:26PM +0200, Alexander Bluhm wrote: > On Fri, Aug 04, 2017 at 03:38:40PM +, Florian Obser wrote: > > When we disable INET6 on an interface that also removes the autoconf6 > > flag. Notify userland about this via the route socket, otherwise > > slaacd gets confused

Re: Fix clang's lgamma(3) builtin

2017-08-04 Thread Patrick Wildt
On Fri, Aug 04, 2017 at 06:04:59PM +0200, Mark Kettenis wrote: > So the regress failure is a clang bug. Already fixed upstream: > > https://reviews.llvm.org/D29778 > > ok? Sure. > > > Index: gnu/llvm/tools/clang/include/clang/Basic/Builtins.def >

cleanup nd6_free next pointer

2017-08-04 Thread Alexander Bluhm
Hi, Since we have TAILQ_FOREACH_SAFE in nd6_purge() it is not necessary that nd6_free() advances the next pointer itself. Make nd6_free() a void function and remove unused parameter gc. ok? bluhm Index: netinet6/nd6.c === RCS

Re: vmd: reset queue_size if queue_select is invalid

2017-08-04 Thread Mike Larkin
On Thu, Aug 03, 2017 at 04:18:54PM -0700, Nick Owens wrote: > ping? > Sorry this got buried. Should have time later today (yes, really) :) -ml > On Thu, Jul 27, 2017 at 10:20 AM, Mike Larkin wrote: > > On Wed, Jul 26, 2017 at 09:37:30PM -0700, Nick Owens wrote: > >>

Re: clang ld.so regress failures

2017-08-04 Thread Alexander Bluhm
On Thu, Aug 03, 2017 at 01:37:12PM +0200, Mark Kettenis wrote: > With these fixes all ld.so regress tests pass again on amd64. Also works on i386. > ok? OK bluhm@ > Index: constructor/libaa/aa.C > === > RCS file:

Fix clang's lgamma(3) builtin

2017-08-04 Thread Mark Kettenis
So the regress failure is a clang bug. Already fixed upstream: https://reviews.llvm.org/D29778 ok? Index: gnu/llvm/tools/clang/include/clang/Basic/Builtins.def === RCS file:

Re: inform userland on ifconfig $if -inet6

2017-08-04 Thread Alexander Bluhm
On Fri, Aug 04, 2017 at 03:38:40PM +, Florian Obser wrote: > When we disable INET6 on an interface that also removes the autoconf6 > flag. Notify userland about this via the route socket, otherwise > slaacd gets confused about the state the interface is in. The other rtm_ifchg() calls are in

inform userland on ifconfig $if -inet6

2017-08-04 Thread Florian Obser
When we disable INET6 on an interface that also removes the autoconf6 flag. Notify userland about this via the route socket, otherwise slaacd gets confused about the state the interface is in. OK? diff --git netinet6/in6_ifattach.c netinet6/in6_ifattach.c index 89acde9c6a4..65eac6dfa56 100644

[patch] puc(4) add ASIX AX99100 support

2017-08-04 Thread SASANO Takayoshi
hello, here is AX99100 4port serial PCI-Express controller support. applying this patch, AX99100 is recognized as follows: puc0 at pci3 dev 0 function 0 "ASIX AX99100" rev 0x00: ports: 1 com com4 at puc0 port 0 apic 5 int 17: st16650, 32 byte fifo puc1 at pci3 dev 0

Re: SO_TIMESTAMP

2017-08-04 Thread Alexander Bluhm
On Fri, Aug 04, 2017 at 12:36:36PM +, Florian Obser wrote: > We do have SO_TIMESTAMP since some time and there is other code in the > kernel that uses it without the #ifdef guard. > > OK? OK bluhm@ > > diff --git netinet/ip_input.c netinet/ip_input.c > index ee74eeadc4c..30fa3597fbb 100644

Re: [patch] remove smtpd filter code

2017-08-04 Thread Gilles Chehade
On Fri, Aug 04, 2017 at 02:56:21PM +0200, Gilles Chehade wrote: > On Fri, Aug 04, 2017 at 01:13:06PM +0200, Eric Faurot wrote: > > Hi, > > > > Experimental support for filters has been removed some time ago from > > the config parser. Now we want to get rid of the remaining code. > > It's not

Re: [patch] remove smtpd filter code

2017-08-04 Thread Gilles Chehade
On Fri, Aug 04, 2017 at 01:13:06PM +0200, Eric Faurot wrote: > Hi, > > Experimental support for filters has been removed some time ago from > the config parser. Now we want to get rid of the remaining code. > It's not that trivial, so we proceed in several steps. > > The first (and trickiest)

SO_TIMESTAMP

2017-08-04 Thread Florian Obser
We do have SO_TIMESTAMP since some time and there is other code in the kernel that uses it without the #ifdef guard. OK? diff --git netinet/ip_input.c netinet/ip_input.c index ee74eeadc4c..30fa3597fbb 100644 --- netinet/ip_input.c +++ netinet/ip_input.c @@ -1711,7 +1711,6 @@ void

[patch] remove smtpd filter code

2017-08-04 Thread Eric Faurot
Hi, Experimental support for filters has been removed some time ago from the config parser. Now we want to get rid of the remaining code. It's not that trivial, so we proceed in several steps. The first (and trickiest) one is to bypass the filter code for incoming smtp sessions, so that