commit | c00d57d35383f4ab32547b6f53544c94ab19f052 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon May 11 11:37:17 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon May 11 11:37:17 2020 +0900 |
tree | eb0250ae88c075b0ced0b920101c237ac1699026 | |
parent | 3991ca5657269fbfc38f01ad757f57dd8a461f37 [diff] |
Simplify code that parses ifa_flags. When parsing an RTM_NEWADDR or RTM_DELADDR, ifaddr is always present (unless the message is invalid). So ifaddr->ifa_flags is always known before any attributes are parsed. Bug: 155005831 Test: atest NetworkStackNextIntegrationTests:IpClientIntegrationTest continues to apss Change-Id: Id1998faccca7d81c1b7f3e85e4912aa22919e94a