Thread (10 messages) 10 messages, 4 authors, 2006-03-31

Re: [PATCH]: e1000: prevent statistics from getting garbled during reset.

From: Greg KH <hidden>
Date: 2006-03-31 05:51:46
Also in: lkml, netdev

On Thu, Mar 30, 2006 at 06:02:08PM -0600, Linas Vepstas wrote:
-	/* Prevent stats update while adapter is being reset */
+	/* Prevent stats update while adapter is being reset,
+	 * or if the pci connection is down. */
 	if (adapter->link_speed == 0)
 		return;
+   if (pdev->error_state && pdev->error_state != pci_channel_io_normal)
+		return;
Coding style is still wrong here :(

(hint, use a tab...)

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help