Confusing comment it tg3.c

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

 



Hi,

The comment to tg3_free_rings() routine states:

tp->{tx,}lock is not held and we are not in an interrupt context and thus may sleep.

However in 2 places (tg3_open() and tg3_close()) this function is called with
both locks held.


Is this comment not relevant anymore ?
I'm looking at 2.4.22-pre5 code.

Thanks.

Felix.

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