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

From: chas williams (chas@cmf.nrl.navy.mil)
Date: Fri Jun 06 2003 - 22:48:28 EST


In message <20030606221100.L3232@almesberger.net>,Werner Almesberger writes:
>> how about atm_async_release()?
>That's just "tag and go away". If I understood Dave right, he
>wants the device to actually disappear at that point (well, at
>what would be the equivalent point for devices).

that's ok. the sk list (of vcc's) will be seperate from
the atm dev so you can take the vcc w/o relying on a device
to hold the list.

btw, you might get async device 'releases' more often than
you would like. some atm devices are usb and could be
unplugged during operation (yes, that's really bad but it
would be wise to be prepared for this.) i actually have
a cardbus atm interface. i might eject it accidentally.

>In return, the stack must not make any other calls for that
>VCC after invoking "close".
>Hmm, and I should have written all this in the device driver
>interface document :-)
>Looks like trouble ...

right!
-
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/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:32 EST