Re: if attach/detach netlocks

2016-12-28 Thread Alexander Bluhm
On Fri, Dec 23, 2016 at 12:09:32AM +0100, Martin Pieuchot wrote: > On 22/12/16(Thu) 20:45, Mike Belopuhov wrote: > > I think this is what is required here. Works here, but YMMV. > > splnet() in a pseudo-driver seems completely wrong, you could get rid of > it. Yes, but that is another issue.

Re: Build kernels with -ffreestanding?

2016-12-28 Thread Mark Kettenis
> Date: Wed, 28 Dec 2016 22:59:18 +0100 (CET) > From: Mark Kettenis > > > Date: Wed, 28 Dec 2016 08:29:05 +0100 > > From: Martin Pieuchot > > > > On 28/12/16(Wed) 01:05, Jeremie Courreges-Anglas wrote: > > > Mark Kettenis

Re: Build kernels with -ffreestanding?

2016-12-28 Thread Mark Kettenis
> Date: Wed, 28 Dec 2016 08:29:05 +0100 > From: Martin Pieuchot > > On 28/12/16(Wed) 01:05, Jeremie Courreges-Anglas wrote: > > Mark Kettenis writes: > > > > >> Date: Sat, 24 Dec 2016 00:08:35 +0100 (CET) > > >> From: Mark Kettenis

Re: BFD: route get and route monitor

2016-12-28 Thread Peter Hessler
On 2016 Dec 23 (Fri) at 16:57:27 +0100 (+0100), Hrvoje Popovski wrote: :On 21.12.2016. 23:15, Sebastian Benoit wrote: :>> Hi, :>> :>> it seems that bfd is working with Force10 S4810 and Extreme Networks :>> x460 switches. I can test it with cisco c6k5 if you want? :> :> Hei, :> :> i'm sure

pf refrag route

2016-12-28 Thread Alexander Bluhm
Hi, In pf_refragment6() use the valid route from pf_route6() instead of calling rtalloc() again. ok? bluhm Index: net/pf.c === RCS file: /cvs/src/sys/net/pf.c,v retrieving revision 1.1008 diff -u -p -r1.1008 pf.c --- net/pf.c

Re: pf state key link

2016-12-28 Thread Alexandr Nedvedicky
Hello, On Fri, Dec 23, 2016 at 04:21:09PM +0100, Alexander Bluhm wrote: > Hi, > > Christiano Haesbaert has sent me this diff. > > They are setting pkt_sk to NULL if pkt_sk->reverse is not > > pf_statek_key_isvalid(), but the chunk that creates the pkt_sk->reverse

passwd(1): clear memory used for password input

2016-12-28 Thread Ingve Skåra
passwd(1) does not clear memory used for the the second password input. Use explicit_bzero(3) to zero the memory when we're done with it. Utilities like bioctl(8) and signify(1) already do this. Index: local_passwd.c === RCS file:

Re: Build kernels with -ffreestanding?

2016-12-28 Thread Reyk Floeter
>> Am 28.12.2016 um 08:29 schrieb Martin Pieuchot : >> >> On 28/12/16(Wed) 01:05, Jeremie Courreges-Anglas wrote: >> Mark Kettenis writes: >> Date: Sat, 24 Dec 2016 00:08:35 +0100 (CET) From: Mark Kettenis