Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #765

Category None
Changed by Masafumi UTSUGI <mutsugiohnoyoudont@allied-telesis.co.jp>
Changed at Sun 20 Oct 2019 11:01:43
Repository https://git.openwrt.org/openwrt/openwrt.git
Branch master
Revision f1d761f95e9664a9c11ce1b98f9e121b43c79d35


ipq40xx: essedma: Fix dead lock
edma_read_append_stats() gets called from two places in the driver.
The first place is the kernel timer that periodically updates
the statistics, so nothing gets lost due to overflows.
The second one it's part of the userspace ethtool ioctl handler
to provide up-to-date values.

For this configuration, the use of spin_lock() is not sufficient
and as per:
the locking has to be upgraded to spin_lock_bh().

Signed-off-by: Masafumi UTSUGI <mutsugi@allied-telesis.co.jp>
[folded patch into 710-, rewrote message]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>

Changed files