Re: [patch] cleaner checksum modification for pf

2015-09-27 Thread Richard Procter
On 25/09/2015, at 9:33 PM, Stuart Henderson wrote: > > [snip comment; I completely agree] > >> Another (home) router I administer was seeing IIRC five [bad TCP checksums] a >> day on average over 42 days, something we expect of a globe-spanning >> internetwork. >> Passing one of these damaged s

Re: sleep in interface detach until all refs are released

2015-09-27 Thread Hrvoje Popovski
On 27.9.2015. 7:51, David Gwynne wrote: > this uses the refcnt api to do the heavy lifting. > > i think we have all the if_get/if_put calls we need, so this should > be safe at this point. > > if anyone wants to test, can you try detaching or destroying > interfaces and check that the ifconfig ca

mk.conf.5: Use Ql where appropriate

2015-09-27 Thread Michael Reed
Hi all, Instead of using a mix of single and double quotes to denote command invocations and literal strings, use Ql instead. This was inspired by revision 1.425 of bsd.port.mk [1]. While doing the above, I also removed a seemingly bogus use of `Ev' prepending `-pipe'. Regards, Michael [1]: h

locking the page queues

2015-09-27 Thread Mark Kettenis
The diff below (re)introduces the active/inactive page queue lock. This will be necessary to make progress with remove the need for grabbing the kernel lock in more parts of uvm, such as the pagedaemon and the uvm_fault(). This was tried once before. And subsequently backed out because: Revert

iwm(4) newstate task (again)

2015-09-27 Thread Stefan Sperling
This is yet another attempt at improving the iwm(4) newstate task. The goal is to simplify things by only queuing one state transition at a time. The newstate task now always transitions to the most recently requested state, rather than hopping along with every request. This allows us get rid of

xargs -0 -I

2015-09-27 Thread Matthew Martin
The following outputs only $ with a newline. { i=0; while [ $i -lt 89 ]; do printf $i\\0; : $(( i++ )); done; } | xargs -0 -I $ printf '%s\n' $ The problem is two fold. The first is that strnsubst gives up on substituting since replstr is greater than maxsize. This should likely cause an

Re: Xr radiusd with section number and remove outdated sentence

2015-09-27 Thread Stuart Henderson
On 2015/09/27 14:39, Theo Buehler wrote: > Now that there is radiusd(8) in base, I suggest the following changes: > > * add back the manual section number to 'Xr radiusd' in login_radius.8 > and in login.conf.5 Unsure about these changes. login_radius isn't just for use with radiusd in base, an

Re: Xr radiusd with section number and remove outdated sentence

2015-09-27 Thread Jason McIntyre
On Sun, Sep 27, 2015 at 02:39:39PM +0200, Theo Buehler wrote: > Now that there is radiusd(8) in base, I suggest the following changes: > > * add back the manual section number to 'Xr radiusd' in login_radius.8 > and in login.conf.5 > > * remove a sentence from CAVEATS which is no longer true.

library-specs.7: Xr resolve-lib instead of resolve_lib

2015-09-27 Thread Theo Buehler
A typo: Index: share/man/man7/library-specs.7 === RCS file: /cvs/src/share/man/man7/library-specs.7,v retrieving revision 1.10 diff -u -p -r1.10 library-specs.7 --- share/man/man7/library-specs.7 15 Nov 2010 07:41:21 - 1

Xr radiusd with section number and remove outdated sentence

2015-09-27 Thread Theo Buehler
Now that there is radiusd(8) in base, I suggest the following changes: * add back the manual section number to 'Xr radiusd' in login_radius.8 and in login.conf.5 * remove a sentence from CAVEATS which is no longer true. I don't think that `.Xr packages 7' is necessary. * the grammar of one

packages.7: refer to check-problems instead of check-conflicts

2015-09-27 Thread Theo Buehler
check-conflicts(1) was replaced by check-problems(1), update packages.7 accordinginly. Index: share/man/man7/packages.7 === RCS file: /cvs/src/share/man/man7/packages.7,v retrieving revision 1.37 diff -u -p -r1.37 packages.7 --- share