netdev
[Top] [All Lists]

Re: [PATCH] bugtrap for network drivers that don't register properly.

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] bugtrap for network drivers that don't register properly.
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Thu, 16 Oct 2003 16:32:59 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20031016110417.0774e1c7.shemminger@xxxxxxxx>
References: <20031016110417.0774e1c7.shemminger@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 16 Oct 2003 11:04:17 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> This patch adds checks for network devices that set there statistics pointer
> after registration.  It is a common error and has already burned netdev sysfs
> unregister a couple of times.  Rather than trapping it on module unload which
> is infrequent and unlikely to be tested on all devices, this patch traps it
> when the device is brought up.
> 
> Tested on 2.6.0-test7 by buggering the e100 driver.

Applied, thanks Stephen.

<Prev in Thread] Current Thread [Next in Thread>