From owner-freebsd-current Sun Dec 14 11:31:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA02905 for current-outgoing; Sun, 14 Dec 1997 11:31:36 -0800 (PST) (envelope-from owner-freebsd-current) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA02899 for ; Sun, 14 Dec 1997 11:31:33 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.5/8.8.5) id OAA04089; Sun, 14 Dec 1997 14:29:59 -0500 (EST) Date: Sun, 14 Dec 1997 14:29:59 -0500 (EST) From: Garrett Wollman Message-Id: <199712141929.OAA04089@khavrinen.lcs.mit.edu> To: pb@fasterix.freenix.org (Pierre Beyssac) Cc: tlambert@primenet.com (Terry Lambert), totii@est.is (?or?ur Ivarsson), freebsd-current@FreeBSD.ORG Subject: Re: panics when stopping pppd In-Reply-To: <19971214024134.PL39369@@> References: <3492A8DE.27B270DB@est.is> <199712132150.OAA03369@usr06.primenet.com> <19971214024134.PL39369@@> Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk < If I spray a few printf in the rtrequest code for RTM_DELETE to > figure out what happens, it doesn't crash anymore. There might be > a race condition somewhere. It's definitely possible that there are some splnet()s or something missing. Another thing that might be worth taking a look at... rn_walktree() is supposed to be written such that it is resilient to deletes happening in its callback. But, I'm not sure if it can deal with the case of multiple records being deleted at once, particularly if one of those records turns out to be the place it was going next. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick