Remove unused params from function on user(8)

2017-05-23 Thread Ricardo Mestre
Hi, Remove 2 unused paramaters from copydotfiles function. While here sort headers and add missing prototypes. Index: user.c === RCS file: /cvs/src/usr.sbin/user/user.c,v retrieving revision 1.119 diff -u -p -u -r1.119 user.c --- use

small diff for acme-client that clarifies why the domain is not found.

2017-05-23 Thread Han Boetes
I just added a new domain in my nameserver and then ran acme-client % sudo acme-client -D niets.boetes.org acme-client: domain niets.boetes.org not found So I assumed the dns was not yet in DNS. I waited a bit, checked the propagation of my new entry in DNS, double checked everything. Debugged, e

Re: athn: fix ar9380 receive code

2017-05-23 Thread Kevin Lo
On Thu, May 18, 2017 at 02:42:45PM +0800, Kevin Lo wrote: > > On Thu, May 18, 2017 at 08:08:52AM +0200, Stefan Sperling wrote: > > > > On Thu, May 18, 2017 at 01:19:18PM +0800, Kevin Lo wrote: > > > On Thu, May 18, 2017 at 02:40:49AM +0200, Stefan Sperling wrote: > > > > athn0 at pci1 dev 0 funct

Remove unused function from compress(1)

2017-05-23 Thread Brian Callahan
Hi tech -- clang says zclose is an unused function. Seems to check out. ~Brian Index: zopen.c === RCS file: /cvs/src/usr.bin/compress/zopen.c,v retrieving revision 1.21 diff -u -p -u -p -r1.21 zopen.c --- zopen.c 3 Sep 2016 11:4

Re: memory barriers and atomic instructions

2017-05-23 Thread Mark Kettenis
> Date: Tue, 23 May 2017 17:58:56 +0200 > From: Mike Belopuhov > > On Tue, May 23, 2017 at 17:41 +0200, Mark Kettenis wrote: > > So here is a diff that implements what I proposed recently. This > > recognizes that atomic instructions on amd64 already include an > > implicit memory barrier and al

Re: memory barriers and atomic instructions

2017-05-23 Thread Mike Belopuhov
On Tue, May 23, 2017 at 17:41 +0200, Mark Kettenis wrote: > So here is a diff that implements what I proposed recently. This > recognizes that atomic instructions on amd64 already include an > implicit memory barrier and allows us to write optimized code that > avoids a redundant memory barrier. >

Fix warnings and unifdef talk(1)

2017-05-23 Thread Brian Callahan
Hi tech -- Turned on WARNINGS=yes for talk(1). Found a few things. The nready assignment is a false positive from gcc but I fixed it anyway. Then I ran unifdef on talk(1). It unconditionally pulls in curses.h from talk.h so there's no need to have those #ifdefs. Similar deal with MSG_EOR, those f

memory barriers and atomic instructions

2017-05-23 Thread Mark Kettenis
So here is a diff that implements what I proposed recently. This recognizes that atomic instructions on amd64 already include an implicit memory barrier and allows us to write optimized code that avoids a redundant memory barrier. Note that I don't have a use-case for membar_exit_before_atomic()

Re: multipath / route priority support for ospf6d

2017-05-23 Thread Alexander Bluhm
On Mon, May 15, 2017 at 08:43:02PM +0200, Florian Riehm wrote: > > The attached patch ports the multipath support from ospfd to ospf6d. > @@ -171,48 +260,30 @@ kr_change(struct kroute *kroute) >* - zero out ifindex (this is no longer relevant) >*/ >

Re: IP in IP header chain input

2017-05-23 Thread Martin Pieuchot
On 23/05/17(Tue) 13:36, Alexander Bluhm wrote: > The IP in IP input function strips the outer header and reinserts > the inner IP packet into the internet queue. The IPv6 local delivery > code has a loop to deal with header chains. My idea is to use this > loop and avoid the queueing and reschedu

IP in IP header chain input

2017-05-23 Thread Alexander Bluhm
Hi, The IP in IP input function strips the outer header and reinserts the inner IP packet into the internet queue. The IPv6 local delivery code has a loop to deal with header chains. My idea is to use this loop and avoid the queueing and rescheduling. The packet could be processed in a single f

Re: UDP sendspace for dlna providing

2017-05-23 Thread Mike Belopuhov
On Tue, May 23, 2017 at 11:51 +0100, Stuart Henderson wrote: > (replying to an old mail), > > On 2017/03/16 18:07, Claudio Jeker wrote: > > On Thu, Mar 16, 2017 at 03:46:38PM +0100, Eric JACQUOT wrote: > > > Hi all, > > > > > > I had some problems with dlna server (minidlna) and a lot of cuts and

Re: UDP sendspace for dlna providing

2017-05-23 Thread Stuart Henderson
(replying to an old mail), On 2017/03/16 18:07, Claudio Jeker wrote: > On Thu, Mar 16, 2017 at 03:46:38PM +0100, Eric JACQUOT wrote: > > Hi all, > > > > I had some problems with dlna server (minidlna) and a lot of cuts and > > crashes of the client when playing videos. > > It seems that the defa