summaryrefslogtreecommitdiff
path: root/server/TetherController.cpp
diff options
context:
space:
mode:
authorSreeram Ramachandran <sreeram@google.com>2014-05-21 13:19:43 -0700
committerSreeram Ramachandran <sreeram@google.com>2014-05-21 19:28:36 -0700
commit72604075e74af459fb4637404fbf030422c6b6b6 (patch)
tree6a5a7fdb52919bd8e049a1ac7d29532578407e17 /server/TetherController.cpp
parent5fc275794ab41d110abbdb7683ed9db45918985f (diff)
Rework the determination of a "valid network".
+ isNetIdValid() doesn't make much sense. What we want is whether the netId has actually been created (via createNetwork()). + It isn't an error to call deleteNetwork() or setDefaultNetwork() even when there are no interfaces assigned to the network. + Secure all accesses to the maps in PermissionsController with locks; they are called from many threads (CommandListener, DnsProxyListener and FwmarkServer). + Remove the redundant mIfaceNetidMap. + Minor cosmetic changes to things such as #includes and log messages. Change-Id: Ieb154589b24f00ba8067eaaec4def3534aec4923
Diffstat (limited to 'server/TetherController.cpp')
0 files changed, 0 insertions, 0 deletions