aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-06-15 18:08:48 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-15 18:08:48 -0400
commit82695d9b186dcefe9bd119b53521deec20858f19 (patch)
tree077cf91b62365763b920b101ee3710274b36bfc3 /include/linux/netdevice.h
parent4fcc3d3409b0ab37c1f790e04a1f7c984b436167 (diff)
net: Fix error in comment on net_device_ops::ndo_get_stats
ndo_get_stats still returns struct net_device_stats *; there is no struct net_device_stats64. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index a7e0458029b5..398f6c28cf8a 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -673,7 +673,7 @@ struct netdev_rx_queue {
673 * 1. Define @ndo_get_stats64 to update a rtnl_link_stats64 structure 673 * 1. Define @ndo_get_stats64 to update a rtnl_link_stats64 structure
674 * (which should normally be dev->stats64) and return a ponter to 674 * (which should normally be dev->stats64) and return a ponter to
675 * it. The structure must not be changed asynchronously. 675 * it. The structure must not be changed asynchronously.
676 * 2. Define @ndo_get_stats to update a net_device_stats64 structure 676 * 2. Define @ndo_get_stats to update a net_device_stats structure
677 * (which should normally be dev->stats) and return a pointer to 677 * (which should normally be dev->stats) and return a pointer to
678 * it. The structure may be changed asynchronously only if each 678 * it. The structure may be changed asynchronously only if each
679 * field is written atomically. 679 * field is written atomically.