Re: [PATCH][ATM] use rtnl_{lock,unlock} during device operations (take 2)

chas williams (chas@cmf.nrl.navy.mil)
Mon, 09 Jun 2003 09:58:45 -0400


>My personal feeling is that there should be a way to zombie
>VCCs, precisely for such events.
>
>ATM should unlink them immediately, and mark them dead.
>Anything that tries to do something with a VCC should
>check that it is still alive.

i imagine marking vcc->dev = NULL would be pretty close to the above.
most operations going into the driver check vcc->dev already and it
might actually handle this correct w/o too much extra effort. you
might also set some flags on the vcc's like ATM_VF_RELEASED etc etc.

of course, this sort of implies that the vcc's are on their own list
and not on a list that is actually part of the atm dev. (see latest
rfc patch).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/