summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2003-10-16 11:09:43 -0700
committerStephen Hemminger <shemminger@osdl.org>2003-10-16 11:09:43 -0700
commit754f80fb5810dc2c3878df22aa88404c113e7dce (patch)
treef10530f06440c25cc9e6bd76f9afbe760ba07588 /include/linux/netdevice.h
parentc700a9de6dd6f700db8c8fb4ea13d7c6b1ad9f1a (diff)
[NET]: Catch buggy net drivers changing getstats op after registry.
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 2a53de551b53..cf00126c50ed 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -469,6 +469,7 @@ struct net_device
/* class/net/name entry */
struct class_device class_dev;
+ struct net_device_stats* (*last_stats)(struct net_device *);
};
#define SET_MODULE_OWNER(dev) do { } while (0)