Re: owner field in `struct fs'

From: Alexander Viro (viro@math.psu.edu)
Date: Sun Jun 25 2000 - 07:25:00 EST


On Sun, 25 Jun 2000, Alan Cox wrote:

> > module constructor. (Well, that's just one of the problems..)
> >
> > So netdevice methods such as open(), do_ioctl(), set_multicast_list(),
> > etc can be and are called when the module refcount is zero.
>
> Just like the block drivers until Al Viro's fix. The same fix makes even
> more sense here as open/close are even lower impact. And whoever is calling
> driver functions without the driver locked in memory..

ITYM "character" - block ones are still not there. It's actually worse
than that - we are freely passing the pointer to the structure while the
counter is zero. Yuck...

ObOtherSubsystems: as soon as resync with Linus' tree will be more or
less done.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:06 EST