On Fri, Jun 09, 2017 at 03:54:04PM +0200, Martin Pieuchot wrote: > Updated diff: > > - use a clever trick in sorflush() to make the new assert happy.
Perhaps a bit too clever. On my amd64 struct socket has nearly 400 bytes. That may be too much for our kernel stack. > - convert sbappendrecord() and sbappend() for coherency > - fix other nits bluhm@ spotted > - add a missing solock()/sounlock() in filt_sowrite(). Note that > this doesn't make the whole function mp-safe. if it fits on the stack, OK bluhm@