Messages in this thread | | | Date | Sun, 08 Jun 2003 22:35:01 -0700 (PDT) | Subject | Re: [PATCH][ATM] use rtnl_{lock,unlock} during device operations (take 2) | From | "David S. Miller" <> |
| |
From: Roman Zippel <zippel@linux-m68k.org> 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 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/
| |