From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [Bonding-devel] Re: Bonding driver unreliable under high CPUload Date: Tue, 17 Sep 2002 16:07:15 -0400 Sender: netdev-bounce@oss.sgi.com Message-ID: <3D878B73.6080503@mandrakesoft.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Andrew Morton , "Cureington, Tony" , Pascal Brisset , bonding-devel@lists.sourceforge.net, netdev@oss.sgi.com Return-path: To: "Chad N. Tindel" Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org Chad N. Tindel wrote: >>>Also, a further question: do you have access to the slave struct >>>net_device? If so, just test netif_carrier_ok(slave_dev) and avoid all >>>that ioctl calling if it returns non-zero. >> >>Make that "avoid all that ioctl calling from interrupt context", which >>is a bug. Of the box-killing variety ;) > > > Will netif_carrier_ok(slave_dev) always work? Do all drivers support the > __LINK_STATE_NOCARRIER flag? No. Read again the precise language I used :)