diff options
author | Elliott Hughes <enh@google.com> | 2016-10-14 12:15:32 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-10-14 14:35:26 -0700 |
commit | 22950687eeec07bf5075f5edaac7774857b2147f (patch) | |
tree | 75148134ef17e8728df3e43880ae9755653c92ba /libc/stdio/stdio.cpp | |
parent | 49ef8c822f1bfa6559782efce0f0813f0967ea29 (diff) |
Fix ifaddrs error handling.
An NLMSG_ERROR packet includes an errno value that we should use. Also report
failures to create a socket immediately, rather than falling through to the
send and reporting EBADF.
Bug: http://b/32145516
Bug: http://b/31038971
Test: bionic ifaddr tests on ryu (with broken kernel) and flounder
Change-Id: I84c480c5b75077eb90d40426a9d66d7bffbd3d51
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions