Re: Race with netdevice unregister and dst_dev_event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   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.
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux