On Thu, Oct 14, 2010 at 04:59:42AM +0100, Mindaugas Rasiukevicius wrote: > Hello, > > "Masaru OKI" <o...@netbsd.org> wrote: > > Module Name: src > > Committed By: oki > > Date: Thu Oct 14 03:07:52 UTC 2010 > > > > Modified Files: > > src/sys/kern: uipc_socket.c > > > > Log Message: > > Wait for freeing mbuf cluster in sosend() causes freeze network stack. > > Don't wait for it. > > problem was found by iij seil team. > > it is similar to OpenBSD uipc_socket.c rev.1.72. > > Can you explain what the actual problem M_WAIT causes i.e. how would > it "freeze network stack"?
I don't see what it would solve on the face of it, but regardless M_DONTWAIT is almost certainly the wrong thing to do here.