summaryrefslogtreecommitdiff
path: root/server/TetherController.cpp
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2014-02-24 15:45:10 -0800
committerChad Brubaker <cbrubaker@google.com>2014-03-15 15:30:13 -0700
commit2ebaf119e2bfd566910020d7ba01c8b12bc5fdf1 (patch)
tree973c90fbfc3a47dd0969c5fd9521bbbfa61ac58b /server/TetherController.cpp
parent1a16c18adff2fd31b8393fb35223cd0bf1e5a509 (diff)
Allow overlap in UidMarkMap
To support simultaneous tuns UidMarkMap now allows for overlaping/duplicate rules. If there are multiple rules for a given uid the most recently added rule will be used in all cases. When overlapping rules are added in addUidRule there may be multiple iptables rules matching the uid. Since addUidRule appends it will use the most recent rule as well, no change required. Previously UidMarkMap->add would fail and the rule would never be added. Bug: 12134439 Change-Id: I5f2976dd3ee334584a9f98f6eacd5edbe5c9bb6b
Diffstat (limited to 'server/TetherController.cpp')
0 files changed, 0 insertions, 0 deletions