summaryrefslogtreecommitdiff
path: root/server/TetherControllerTest.cpp
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2018-03-20 16:39:43 -0700
committerChenbo Feng <fengc@google.com>2018-03-21 14:51:30 -0700
commit04f3b17f4d8bd5483ff5d530a8be4e831ce46b4f (patch)
tree09cc8731b933091ca849b89b89f519b6c75616b0 /server/TetherControllerTest.cpp
parentfcc78a84904ec1f22ad2106e8bf8e759269ff23b (diff)
limit IFINDEX matching to specific actions.
For each netlink message that belongs to net subsystem, the netd NetLinkHandler will try to find the IFINDEX param in the netlink event. Since most of the net related netlink event do not have IFINDEX inside the message, it causes a lot of FindParam() error when handle those messages. So we only do a FindParam for message with action kLinkUp, kLinkDown and kAdd so the false alarm of IFINDEX not exist will not be triggered. Bug: 73137611 Test: ./netd_unit_test pass and adb logcat | grep IFINDEX do not show NetlinkEvent errors; Change-Id: If8f06b357d7f6added0dc6d9bfe2742ec9601575
Diffstat (limited to 'server/TetherControllerTest.cpp')
0 files changed, 0 insertions, 0 deletions