diff options
| author | Stephen Hemminger <shemminger@osdl.org> | 2003-10-16 11:09:43 -0700 |
|---|---|---|
| committer | Stephen Hemminger <shemminger@osdl.org> | 2003-10-16 11:09:43 -0700 |
| commit | 754f80fb5810dc2c3878df22aa88404c113e7dce (patch) | |
| tree | f10530f06440c25cc9e6bd76f9afbe760ba07588 /include/linux/netdevice.h | |
| parent | c700a9de6dd6f700db8c8fb4ea13d7c6b1ad9f1a (diff) | |
[NET]: Catch buggy net drivers changing getstats op after registry.
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 1 |
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) |
