Re: in6_leavegroup work queue

2013-10-31 Thread Martin Pieuchot
On 30/10/13(Wed) 16:48, Alexander Bluhm wrote: > On Fri, Oct 18, 2013 at 01:00:25PM +0200, Martin Pieuchot wrote: > > On 18/10/13(Fri) 12:45, Alexander Bluhm wrote: > > > > > > Ethernet drivers connected via USB might sleep when their multicast > > > group filter is modified. Unfortunately this h

Re: kernel route 64 bit expire time

2013-10-31 Thread Gregory Edigarov
On 10/15/2013 01:43 AM, Alexander Bluhm wrote: Hi, Convert the route expire timestamp in kernel and routing message to 64 bit. Add a small compatibility layer that allows to set routes with old user land and new kernel. ok? just out for curiosity, shouldn't the expire time be u_int64_t? --

Re: kernel route 64 bit expire time

2013-10-31 Thread Alexander Bluhm
On Thu, Oct 31, 2013 at 11:44:12AM +0200, Gregory Edigarov wrote: > On 10/15/2013 01:43 AM, Alexander Bluhm wrote: > >Hi, > > > >Convert the route expire timestamp in kernel and routing message > >to 64 bit. Add a small compatibility layer that allows to set > >routes with old user land and new ke

unlimited HFSC v4: against -current with deferred pushing

2013-10-31 Thread Martin Pelikan
Same as v3, only it applies to -current. ok? Index: altq/if_altq.h === RCS file: /cvs/src/sys/altq/if_altq.h,v retrieving revision 1.16 diff -u -p -r1.16 if_altq.h --- altq/if_altq.h 12 Oct 2013 12:13:10 - 1.16 +++ alt

Re: octcf(4/octeon): switch disksort() to bufqs

2013-10-31 Thread Brian Callahan
On 10/31/2013 2:33 AM, David Gwynne wrote: jmatthew@ tells me this compiles, but we dont have hardware to test with. tests? oks? go for its? I'll run a test on my CAM-0100 later today. cheers, dlg Index: octcf.c === RCS file:

pflow in rdomain

2013-10-31 Thread Anders Berggren
We tried to get pflow running in a non-default rdomain, and found this to get it going. Make sense? --- sys/net/if_pflow.c.orig Fri Sep 13 20:58:40 2013 +++ sys/net/if_pflow.c Mon Sep 16 13:25:54 2013 @@ -1213,6 +1213,8 @@ sc->sc_if.if_opackets++; sc->sc_if.if_obytes += m->m_

Re: unlimited HFSC v4: against -current with deferred pushing

2013-10-31 Thread Theo de Raadt
> + > +/* XXX hack, because we need the structure definition */ > +#define ALTQ_IS_ENABLED 1 > +#include > +#undef ALTQ_IS_ENABLED > +/* XXX hack */ > + Over my dead body. If everyone needed a hack like that, we'd be in big trouble. Please refactor the code so that you don't need to do tha

Re: kernel route 64 bit expire time

2013-10-31 Thread Theo de Raadt
> > Convert the route expire timestamp in kernel and routing message > > to 64 bit. Add a small compatibility layer that allows to set > > routes with old user land and new kernel. > > > > ok? > > just out for curiosity, shouldn't the expire time be u_int64_t? It seems such a simple concept. It

Re: in6_leavegroup work queue

2013-10-31 Thread Alexander Bluhm
On Thu, Oct 31, 2013 at 09:56:11AM +0100, Martin Pieuchot wrote: > On 30/10/13(Wed) 16:48, Alexander Bluhm wrote: > > Now I use the if_index to detect that the interface is gone. > > Do you know if the memory pointed by the "imm" pointer you're passing to > your workq can be freed before the task

remove some altq references from manuals

2013-10-31 Thread Arto Jonsson
Index: sbin/iked/iked.conf.5 === RCS file: /cvs/src/sbin/iked/iked.conf.5,v retrieving revision 1.25 diff -u -p -r1.25 iked.conf.5 --- sbin/iked/iked.conf.5 16 Jul 2013 09:45:28 - 1.25 +++ sbin/iked/iked.conf.5 19

Re: octcf(4/octeon): switch disksort() to bufqs

2013-10-31 Thread Brian Callahan
On 10/31/2013 10:49 AM, Brian Callahan wrote: On 10/31/2013 2:33 AM, David Gwynne wrote: jmatthew@ tells me this compiles, but we dont have hardware to test with. tests? oks? go for its? I'll run a test on my CAM-0100 later today. tests good. ok. cheers, dlg Index: octcf.c