diff options
| author | Mohammed Javid <mjavid@codeaurora.org> | 2018-06-08 16:55:32 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-08-28 23:10:45 -0700 |
| commit | a78a593c7e9e26a6ecd4919b52eb849cc0eb19dd (patch) | |
| tree | 45cc11e68e3c2d33dfc28f9728aa426e82419d3c /net/core/dev.c | |
| parent | 89cb3f2fc113e4886a506d28f2adc7ac8e0c6e3f (diff) | |
msm: ipa3: Add mutex to prevent race condition
There is a race condition between ipa3_nat_init_cmd
and ipa_read_nat4. The two thread will R/W the critical
global variables. This will result in race conditions
and possibly buffer overread/ overwrite issues. Add code
to prevent this race condition.
Change-Id: I6bf9a837ae941cf3ad9413da6e44821916acf196
Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
