commit | 002231a2aa52f487e4279680d86833fbdb520002 | [log] [tgz] |
---|---|---|
author | c_hpothu <c_hpothu@qti.qualcomm.com> | Thu Feb 05 14:58:51 2015 +0530 |
committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | Mon Feb 09 19:31:51 2015 +0530 |
tree | 83a80967e96eaeaa3fda283059da4abec9f5f80a | |
parent | 153c466ad90c44ac46082e0ecf9f0ab6204ef7ea [diff] |
wlan: Acquire rtnl lock while unregistering SAP ioctls. As part of ioctl unregister, HOST will set wireless_handlers to NULL. This may lead to NULL pointer dereference if kernel is processing any IOCTL simultaneously. Hence, acquire rtnl_lock while making wireless_handlers to NULL, as same lock is acquired while processing ioctl. Change-Id: Ic4f54dd9b8cc1d98b0c4d4cd95e4ee24d7d6f5a4 CRs-Fixed: 788485