mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
No description
- C 98.2%
- Assembly 1%
- Makefile 0.3%
- Shell 0.2%
- Python 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
scenario: (1) thread A is doing hdd_stop_adapter() and the caller outside of hdd_stop_adapter will acquire the rtnl lock, dp_vdev_detach_wifi3() in hdd_stop_adpater() will notify DP thread B flush stack GRO frames and wait DP thread B response/set vdev delete event. (2) but if DP thread B is under processing RX frames and do local ARP check for ARP request, it will wait and try to acquire rtnl lock as well, dead lock happened. Until thread A wait vdev delete event timeout and corressponding net_dev/hdd_adapter is freed, then DP thread B get chance to acquire rtnl lock but hdd_adapter/net_dev has been freed, hit panic. Use rtnl_trylock() instead of rtnl_lock() in hdd_is_arp_local(), if rtnl_trylock() failed, assume this is local ARP and return, else do the local ARP checking same as before. Change-Id: Ic6724b68f6e09e9d139c430396e4c76bf483d033 CRs-Fixed: 2760979 |
||
| components | ||
| configs | ||
| core | ||
| os_if | ||
| uapi/linux | ||
| Android.mk | ||
| Kbuild | ||
| Kconfig | ||
| Makefile | ||
| README.txt | ||
This is CNSS WLAN Host Driver for products starting from iHelium