lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080914.165655.193720725.davem@davemloft.net>
Date:	Sun, 14 Sep 2008 16:56:55 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	jacliburn@...lsouth.net
Cc:	adobriyan@...il.com, csnook@...hat.com, netdev@...r.kernel.org
Subject: Re: atl1: WARNING at net/sched/sch_generic.c:221

From: Jay Cliburn <jacliburn@...lsouth.net>
Date: Sun, 14 Sep 2008 14:26:54 -0500

> Should a netdev driver be coded such that a watchdog transmit timeout
> never occurs?
> 
> [ 2086.049998] NETDEV WATCHDOG: eth0 (atl1): transmit timed out
> 
> Or is a watchdog timeout an expected occurrence if a cable is
> unplugged/plugged?

If the cable is unplugged, netif_carrier_off() will be (or should
be) invoked by the driver, and that cancels the watchdog timer.

This is all from memory since I'm travelling and don't have the
time to check this directly.  You should investigate this yourself
instead of asking me if you want a truly definitive answer :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ