commit | 5b986636903777235347873cb2a0298ec35f5200 | [log] [tgz] |
---|---|---|
author | jiad <jiad@codeaurora.org> | Fri Aug 04 11:59:20 2017 +0800 |
committer | snandini <snandini@codeaurora.org> | Sun Sep 03 21:36:23 2017 -0700 |
tree | 0af0c8a57c0631a464cb0bc6d1381b57967a4c1c | |
parent | d13036f3f7de41430bf308094d19f39372e803b4 [diff] |
qcacld-3.0: Fix potential spinlock recursion on UP wlan_hdd_update_txq_timestamp tries to grab txq spinlock in __dev_queue_xmit context. Issue is txq spinlock is already held before calling into driver's ndo_start_xmit callback. On UP system, kernel throws a BUG and system crashes. Fix is to detect spinlock recursion and only tries to grab the lock when it is not held on the same CPU or not held. Change-Id: I3956ef00c4f4a563155dc82ed8f95f097129fb0c CRs-Fixed: 2050134