aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/via
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2020-01-06 07:39:31 +0100
committerDavid S. Miller <davem@davemloft.net>2020-01-06 13:54:55 -0800
commita69faa09102bd2138bac5eea9d27dcf196118832 (patch)
tree6ca0c3f77f037963f29136ef47520aaccc5becc1 /drivers/net/ethernet/via
parentfcnal-test: Fix vrf argument in local tcp tests (diff)
downloadlinux-dev-a69faa09102bd2138bac5eea9d27dcf196118832.tar.xz
linux-dev-a69faa09102bd2138bac5eea9d27dcf196118832.zip
wil6210: get rid of begin() and complete() ethtool_ops
The wil6210 driver locks a mutex in begin() ethtool_ops callback and unlocks it in complete() so that all ethtool requests are serialized. This is not going to work correctly with netlink interface; e.g. when ioctl triggers a netlink notification, netlink code would call begin() again while the mutex taken by ioctl code is still held by the same task. Let's get rid of the begin() and complete() callbacks and move the mutex locking into the remaining ethtool_ops handlers except get_drvinfo which only copies strings that are not changing so that there is no need for serialization. Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/via')
0 files changed, 0 insertions, 0 deletions