diff options
| author | John Stultz <john.stultz@linaro.org> | 2016-05-12 11:17:52 -0700 |
|---|---|---|
| committer | Amit Pundir <amit.pundir@linaro.org> | 2016-05-19 12:35:13 +0530 |
| commit | 4158b3431f473aad101da1100a9b241ff8b3cc74 (patch) | |
| tree | 1950e0732f819823a032b895a9f124d3c4c29e99 /tools/perf/scripts/python | |
| parent | f73ca028a0a4cc307597efc6ef2c910dc2d20639 (diff) | |
xt_qtaguid: Fix panic caused by processing non-full socket.
In an issue very similar to 4e461c777e3 (xt_qtaguid: Fix panic
caused by synack processing), we were seeing panics on occasion
in testing.
In this case, it was the same issue, but caused by a different
call path, as the sk being returned from qtaguid_find_sk() was
not a full socket. Resulting in the sk->sk_socket deref to fail.
This patch adds an extra check to ensure the sk being retuned
is a full socket, and if not it returns NULL.
Reported-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
