Date: Sun, 14 Mar 1999 23:47:54 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru> Cc: current@FreeBSD.ORG Subject: Re: Simple DOS against 3.x locks box solid Message-ID: <199903150747.XAA96296@apollo.backplane.com> References: <199903142204.BAA03697@tejblum.dnttm.rssi.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
:Matthew Dillon wrote: :> - error = acquire(lkp, extflags, :> - LK_HAVE_EXCL | LK_WANT_EXCL | LK_WANT_UPGRADE); :> + if (p->p_flag & P_DEADLKTREAT) { :> + error = acquire( : :This is broken: p may be NULL, it is checked several lines before. :My kernel just paniced for this reason. : :Well, sorry for late response, but: what was wrong with Tor Egge's :"workaround" from kern/8416? : :Dima We'll get a quick fix committed but the lockmgr stuff needs a real going-over... having interrupts using the general lockmgr call is a disaster waiting to happen. -Matt Matthew Dillon <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903150747.XAA96296>