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

From: David S. Miller (
Date: Mon Jun 09 2003 - 00:35:01 EST

   From: Roman Zippel <>
   Date: Mon, 9 Jun 2003 00:32:49 +0200 (CEST)

   On Sat, 7 Jun 2003, David S. Miller wrote:
> We don't use module refcounts at all anymore for netdev objects.
> That's the whole key.
   If I read the source correctly, unregister_netdevice() simply does rip the
   device out and sees what happens? It's a bit primitive, but should of
   course work too.

The transition is half complete. Eventually even that
"wait for refcount to hit zero" part will go away, and
also we will add the logic to mark the device at "dead"
and then teach all the sysfs/procfs routines to error out
if they see the device they are examining is in this state.
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:19 EST