Re: improve realloc(3)

2017-01-12 Thread Otto Moerbeek
On Mon, Jan 09, 2017 at 07:49:24PM +0100, Otto Moerbeek wrote: > Hi, > > this diff implements some improvements to realloc and some cleanup of > the MALLOC_MOVE code. > > 1. When shrinking a chunk allocation, compare the size of the current > allocation to the size of the new allocation

Re: pfkey vs splsoftnet()

2017-01-12 Thread Alexander Bluhm
On Tue, Jan 10, 2017 at 10:37:38AM +0100, Martin Pieuchot wrote: > In pfkey_sendup() we call sorwakeup() which asserts for NET_LOCK(), so > we are already at IPL_SOFTNET. > > pfkeyv2_send() is called via pfkey_output() which is also called with > the NET_LOCK() held. > > Finally replace a

Re: pfkey vs splsoftnet()

2017-01-12 Thread Hrvoje Popovski
On 12.1.2017. 16:20, Martin Pieuchot wrote: > On 10/01/17(Tue) 10:37, Martin Pieuchot wrote: >> In pfkey_sendup() we call sorwakeup() which asserts for NET_LOCK(), so >> we are already at IPL_SOFTNET. >> >> pfkeyv2_send() is called via pfkey_output() which is also called with >> the NET_LOCK()

mount point FOREACH_SAFE is unsafe

2017-01-12 Thread Alexander Bluhm
Hi, When traversing the mount list, the current mount point is locked with vfs_busy(). When a FOREACH_SAFE macro is used, the next pointer is not locked and could be freed by another process. I remember that someone showed me a panic that ended in one of these functions, but I have lost the bug

Re: FreeType 2.7.1

2017-01-12 Thread Christian Weisgerber
Stuart Henderson: > > And, if you can, put it in your next bulk build. > > i386 bulk was clean. amd64 also looks fine. (iridium and chromium are still building on their n-th try...) -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: 11n support for athn(4)

2017-01-12 Thread Stefan Sperling
On Tue, Jan 10, 2017 at 12:27:47AM +0100, Stefan Sperling wrote: > On Mon, Jan 09, 2017 at 01:54:55PM +0100, Stefan Sperling wrote: > > This diff adds 11n support to the athn(4) driver. > > Requires -current net80211 code from today. > > A better diff which fixes several bugs. jmc@ found out I

Re: pfkey vs splsoftnet()

2017-01-12 Thread Martin Pieuchot
On 10/01/17(Tue) 10:37, Martin Pieuchot wrote: > In pfkey_sendup() we call sorwakeup() which asserts for NET_LOCK(), so > we are already at IPL_SOFTNET. > > pfkeyv2_send() is called via pfkey_output() which is also called with > the NET_LOCK() held. > > Finally replace a comment above

Re: FreeType 2.7.1

2017-01-12 Thread David Coppa
On Thu, Jan 12, 2017 at 1:46 PM, Stuart Henderson wrote: > On 2017/01/09 15:29, David Coppa wrote: >> Here's the update to freetype-2.7.1, both inline and as attachment. > >> As usual, please test it. >> >> And, if you can, put it in your next bulk build. > > i386 bulk was

Re: FreeType 2.7.1

2017-01-12 Thread Stuart Henderson
On 2017/01/09 15:29, David Coppa wrote: > Here's the update to freetype-2.7.1, both inline and as attachment. > As usual, please test it. > > And, if you can, put it in your next bulk build. i386 bulk was clean.

wsfont.c: remove sony8x16 and sony12x24?

2017-01-12 Thread Frederic Cambus
Hi tech@, Most fonts in wsfont are not compiled in by default, and while some are worth keeping and using, I would like to propose deleting some of them in order to make space for larger sized fonts. The Sony fonts are Serif, which doesn't work very well for monospaced bitmap fonts intended for

Ansify cpu_sysctl() on alpha, arm, arm64, luna88k and sparc64

2017-01-12 Thread Frederic Cambus
Hi tech@, Here is a diff to ansify cpu_sysctl() where not previously done. Comments? OK? Index: sys/arch/alpha/alpha/machdep.c === RCS file: /cvs/src/sys/arch/alpha/alpha/machdep.c,v retrieving revision 1.176 diff -u -p -r1.176

Re: BFD: route get and route monitor

2017-01-12 Thread Hrvoje Popovski
On 23.12.2016. 16:57, 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 phessler (who might not read