aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2022-04-08 01:56:53 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2022-05-01 19:51:20 -0700
commitb7a861a6c3fb8903d4806a12b9ec7806472faa9a (patch)
treeea28eb3e0e18a6a4ea457aa248fabe03cb5f013f /include/linux/phy/git:/ssh:/git@git.zx2c4.com
parentxtensa: iss: replace iss_net_set_mac with eth_mac_addr (diff)
downloadlinux-dev-b7a861a6c3fb8903d4806a12b9ec7806472faa9a.tar.xz
linux-dev-b7a861a6c3fb8903d4806a12b9ec7806472faa9a.zip
xtensa: iss: clean up per-device locking in network driver
Per-device locking in the ISS network driver is used to protect poll timer and stats updates. Stat collection is not protected. Remove per-device locking everywhere except the stats updates. Replace ndo_get_stats callback with ndo_get_stats64 and use proper locking there as well. As a side effect this fixes possible deadlock between iss_net_close and iss_net_timer. Reported by: Duoming Zhou <duoming@zju.edu.cn> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions