Re: more on module usage count

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

 



On Tue, 19 Aug 2003 22:03:09 +0200
Daniele Bellucci <bellucda@tiscali.it> wrote:

> > Aparently, the ->close() method of the 3c509.c driver returns
> > before the chip is truly done shutting down.  How to do this
> > correctly is hardware specific, and therefore the in order to
> > code the fix you'll need to understand how the 3c509 chip works.
> 
> that's why IMHO reintroducing module usage count on net devs should be better... 
> there are too many broken net device drivers to fix...

This is false, for two reasons:

1) This driver is the only one we know of that has said
   problem.

2) The problem exists even with module reference counts.
   If you "ifconfig eth0 down; rmmod 3c509" the problem
   can still occur.

Returning from ->close() before the device is really taken
down is a bug and is going to cause problems regardless
of whether the netdev module refcount is there or not.
-
: 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