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

From: chas williams (
Date: Mon Jun 09 2003 - 08:58:45 EST

>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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:20 EST