[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-net
Subject:    Re: Race with netdevice unregister and dst_dev_event
From:       "David S. Miller" <davem () redhat ! com>
Date:       2003-04-30 2:21:53
[Download RAW message or body]

   From: Stephen Hemminger <shemminger@osdl.org>
   Date: Tue, 29 Apr 2003 09:10:23 -0700

   So it is possible for the module to go away before the DST entry is
   released by dev_put() in the garbage collection (by timer). At that
   point the destructor points to dead memory.
   
No it's NOT!  Until the dev_put() occurs, the device and therefore
the MODULE that implements the device, may not go away!

We cannot have a meaningful conversation about this topic until
you understand this.  Each device reference equals a module reference
and therefore prevents the module from being unloaded.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic