Date: Tue, 25 Jun 2002 15:29:19 -0400 From: Don Bowman <don@sandvine.com> To: 'Jonathan Lemon' <jlemon@flugsvamp.com>, "'freebsd-stable@freebsd.org'" <freebsd-stable@freebsd.org> Subject: RE: panic in syncache/rtfree with 4.6 Message-ID: <FE045D4D9F7AED4CBFF1B3B813C853376765C1@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
in tcp_syncache.c, it seems that syncache_lookup() calls need to be protected by splnet()/splx(). For example, in syncache_chkrst(), the code does: sc = syncache_lookup(...) if (sc == NULL) return if (sc->...) syncache_drop(sc, ...) however, if the timer wakes up between the lookup() and the rest of the function, will a crash not occur? Shouldn't this be protected from before the lookup until after the last use of sc? --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C853376765C1>