commit | 077d1ea61bff261caa81b2a8c4574cf0cf872124 | [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 22:33:27 2020 +0900 |
tree | 2cfc9489bffa362d003b219676ad0c1f102c4ece | |
parent | 6153b71aea12ca8595d15b87e1ee00310109c2ff [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