commit | e8101fd0e91139a7d6ad19802c902c51be937dd2 | [log] [tgz] |
---|---|---|
author | Mohamad Ayyash <mkayyash@google.com> | Tue Jan 13 19:20:44 2015 -0800 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Thu Jan 19 13:32:30 2017 -0800 |
tree | ef9bc07e3a6c845c7949fc24c195ca5569d1f137 | |
parent | 070eff8f023c8102da06566aa3724aa414c2e7ae [diff] |
ANDROID: xt_qtaguid: Use sk_callback_lock read locks before reading sk->sk_socket It prevents a kernel panic when accessing sk->sk_socket fields due to NULLing sk->sk_socket when sock_orphan is called through sk_common_release. Change-Id: I4aa46b4e2d8600e4d4ef8dcdd363aa4e6e5f8433 Signed-off-by: Mohamad Ayyash <mkayyash@google.com> (cherry picked from commit cdea0ebcb8bcfe57688f6cb692b49e550ebd9796) Signed-off-by: John Stultz <john.stultz@linaro.org>