Revert "lan78xx: add ndo_get_stats64"
authorDavid S. Miller <davem@davemloft.net>
Sun, 20 Mar 2016 20:53:42 +0000 (16:53 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Mar 2016 20:53:42 +0000 (16:53 -0400)
commit1c191307af5f0135b9e35975f3cef4168cefee66
treefc59a88e91df71412082028922a172cda401683b
parente9fc2f052c96142e50c6ddd0a5e7432af68bd13b
Revert "lan78xx: add ndo_get_stats64"

This reverts commit a59f8c5b048dc938fb958c91c282c865cd845705.

There are several bugs in this new code, for example:

1) Uses sleeping locks in get_stats64, which is not allowed,
   as the operation can be invoked in an atomic context.

2) Uses PM fields without CONFIG_PM or similar guards.

3) Does not synchronize HW stats when the device runtime
   suspends.

Therefore this is being reverted until a correct version
is implemented.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c
This page took 0.024534 seconds and 5 git commands to generate.