Re: LOR in if_detach

From: Matthew N. Dodd <mdodd_at_FreeBSD.ORG>
Date: Thu, 10 Apr 2003 18:02:22 -0400 (EDT)
On Thu, 10 Apr 2003, Harti Brandt wrote:
> What would that lock do? I mean, which, if any, of the exported driver
> functions would be called with that lock held?

If we're sure that nobody will be caching our function pointers we can
call another helper function before if_detach() that sets the function
pointers to 'invalid' functions (that is, ones that return an error).

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter_at_jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
Received on Thu Apr 10 2003 - 13:02:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC