Re: Kernel crash w/o reason
From: Jan Engelhardt (jengelh_at_linux01.gwdg.de)
Date: 12/24/04
- Previous message: samrat saha: "Can i Send Crafted TCP Packet to allready extablished connected socket"
- In reply to: Kamal R. Prasad: "Re: Kernel crash w/o reason"
- Next in thread: Robert Watson: "Re: Kernel crash w/o reason"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Dec 2004 15:12:08 +0100 (MET)
>> I wanted that the device can only be opened once,
>> and holding a mutex while it
>> is open seemed like a simple idea. (Since
>> mtx_trylock() will then fail -- easy
>> to implement.)
>
>An even more simpler idea would be to set a flag in
>the softc data structure on initialization, so as to
>avoid initializing again.
And where do I do that? Do you mean in the struct cdevsw?
Jan Engelhardt
-- ENOSPC _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: samrat saha: "Can i Send Crafted TCP Packet to allready extablished connected socket"
- In reply to: Kamal R. Prasad: "Re: Kernel crash w/o reason"
- Next in thread: Robert Watson: "Re: Kernel crash w/o reason"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]