step missing from "2016/10/14" followig -current?

2016-10-28 Thread patrick keshishian
Instructions say: $ cd /sys $ rm -r arch/*/compile/[GR]* $ rm arch/*/compile/.cvsignore $ cvs up The new way of configuring, building and installing a kernel is: $ cd /sys/arch/$(machine)/compile/GENERIC.MP $ doas make obj $ make

Re: request for test: mfii

2016-10-28 Thread Hrvoje Popovski
On 26.10.2016. 5:50, YASUOKA Masahiko wrote: > On Wed, 26 Oct 2016 10:26:19 +1100 > Jonathan Gray wrote: >> On Tue, Oct 25, 2016 at 05:29:55PM +0900, YASUOKA Masahiko wrote: >>> I'm working on making mfii(4) bio(4) capable. >>> >>> If you have a machine which has mfii(4), I'd like

Re: request for test: mfii

2016-10-28 Thread Johan Huldtgren
On 10/25/16 23:50, YASUOKA Masahiko wrote: > On Wed, 26 Oct 2016 10:26:19 +1100 > Jonathan Gray wrote: >> On Tue, Oct 25, 2016 at 05:29:55PM +0900, YASUOKA Masahiko wrote: >>> I'm working on making mfii(4) bio(4) capable. >>> >>> If you have a machine which has mfii(4), I'd like

Re: switch(4): add more input validations

2016-10-28 Thread Reyk Floeter
> On 28.10.2016, at 19:20, Rafael Zalamena wrote: > > This diff teaches switch(4) how to do more validations on dynamic input > field types, like: ofp_match (has N oxms), ofp_action_header (might be > followed by N actions) and ofp_instruction (might have N actions inside).

switch(4): add more input validations

2016-10-28 Thread Rafael Zalamena
This diff teaches switch(4) how to do more validations on dynamic input field types, like: ofp_match (has N oxms), ofp_action_header (might be followed by N actions) and ofp_instruction (might have N actions inside). This is important because the internal switch structures reuse the ofp_match and

Re: Problems with rdomain and net/if.c v1.455

2016-10-28 Thread Nils Frohberg
On Fri, Oct 28, 2016 at 04:27:51PM +0200, Claudio Jeker wrote: > On Fri, Oct 28, 2016 at 04:19:35PM +0200, Nils Frohberg wrote: > > I currently cannot access the local IP of an interface on rdomain 1: > > > > Script started on Fri Oct 28 15:02:20 2016 > > $ doas pfctl -d > > pfctl: pf not

Re: Problems with rdomain and net/if.c v1.455

2016-10-28 Thread Claudio Jeker
On Fri, Oct 28, 2016 at 04:19:35PM +0200, Nils Frohberg wrote: > I currently cannot access the local IP of an interface on rdomain 1: > > Script started on Fri Oct 28 15:02:20 2016 > $ doas pfctl -d > pfctl: pf not enabled > $ doas ifconfig vether0 > vether0: no such interface > $

Problems with rdomain and net/if.c v1.455

2016-10-28 Thread Nils Frohberg
I currently cannot access the local IP of an interface on rdomain 1: Script started on Fri Oct 28 15:02:20 2016 $ doas pfctl -d pfctl: pf not enabled $ doas ifconfig vether0 vether0: no such interface $ doas ifconfig vether0 rdomain 1 $ doas ifconfig vether0 inet 192.168.42.2

Re: H option for malloc

2016-10-28 Thread Stefan Kempf
Otto Moerbeek wrote: > Hi, > > Pages in the malloc cache are either reused quickly or unmapped > quickly. In both cases it does not make sense to set hints on them. > So remove that option, which is just a remainder of old times when > mallco used to hold on to pages. OK? Makes sense. ok stefan@

pf_route() uses pd->m

2016-10-28 Thread Alexander Bluhm
Hi, Instead of passing an extra mbuf pointer to pf_route(), it should just use pd->m. Then pf_test() can also operate on pd.m and set the *m0 value in the caller just before it returns. Note that the goto done after ip6_output() fixes a mbuf leak. ok? bluhm Index: net/if_pfsync.c

Re: iwn: stop forcing RTS for all frames in 11n mode

2016-10-28 Thread Jeremie Courreges-Anglas
Stefan Sperling writes: > This is similar to a recent change in iwm, but it only affects 11n mode > in this driver. > > The condition being removed below was added by me before the RTS threshold > was enabled in net80211. So now we should not need it anymore and removing > it

H option for malloc

2016-10-28 Thread Otto Moerbeek
Hi, Pages in the malloc cache are either reused quickly or unmapped quickly. In both cases it does not make sense to set hints on them. So remove that option, which is just a remainder of old times when mallco used to hold on to pages. OK? -Otto Index: lib/libc/stdlib/malloc.c

Re: switch(4): fix packet_out message handling

2016-10-28 Thread Reyk Floeter
OK, sure > On 14.10.2016, at 14:26, Rafael Zalamena wrote: > > The switch(4) packet_out handler wasn't handling some cases, so here is > the missing code. > > 1) pout_buffer_id is a 4 bytes field and it was using the wrong define > to check for absence of buffers; > 2)

Re: snmpd(8): teach how to fork+exec

2016-10-28 Thread Jeremie Courreges-Anglas
Rafael Zalamena writes: > On Sat, Oct 22, 2016 at 10:32:27PM +0200, Rafael Zalamena wrote: >> On Sat, Oct 22, 2016 at 08:14:16PM +0200, Jeremie Courreges-Anglas wrote: >> > Rafael Zalamena writes: >> > > On Fri, Oct 21, 2016 at 01:26:36PM +0200, Jeremie

Re: switch(4): kill unused function

2016-10-28 Thread Reyk Floeter
OK, no need to keep unused functions. > On 14.10.2016, at 18:47, Rafael Zalamena wrote: > > The switch(4) device has a function called switch_forward_flooder() > which doesn't seem to be used anywhere. > > In switchofp.c we have the swofp_action_output() which would be the

Re: snmpd(8): teach how to fork+exec

2016-10-28 Thread Rafael Zalamena
On Sat, Oct 22, 2016 at 10:32:27PM +0200, Rafael Zalamena wrote: > On Sat, Oct 22, 2016 at 08:14:16PM +0200, Jeremie Courreges-Anglas wrote: > > Rafael Zalamena writes: > > > On Fri, Oct 21, 2016 at 01:26:36PM +0200, Jeremie Courreges-Anglas wrote: > > >> Rafael Zalamena