diff options
author | sanketk <sanketk@codeaurora.org> | 2015-06-12 16:38:56 +0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-06-30 23:32:23 -0700 |
commit | 00c551e284b61d458f05759a489d615933e3667b (patch) | |
tree | 1fb7f4489c480bd1707610b4e38e11038f5b074f /lmkd | |
parent | 64caba3c021a9b86f093476b343df9bd3d3a4dbb (diff) | |
download | system_core-00c551e284b61d458f05759a489d615933e3667b.zip system_core-00c551e284b61d458f05759a489d615933e3667b.tar.gz system_core-00c551e284b61d458f05759a489d615933e3667b.tar.bz2 |
Don't use global variable in libnetutils.
In netd, both CommandListener and NetlinkHandler thread will use
libnetutils' function. Original implementation will use a global
file descriptor in mutiple functions. It will cause problems when
these functions are invoked from different thread.
This change will make NetlinkHandler thread use local file
descriptor instead of global one.
CRs-fixed: 853158
Change-Id: I66458e99e48197e7a56cbb212344423290db12bd
Diffstat (limited to 'lmkd')
0 files changed, 0 insertions, 0 deletions