commit | 234d3ee62c7922e3d019962f3984a345af7f4e3e | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Dec 02 17:25:28 2019 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Dec 02 17:37:39 2019 +0900 |
tree | ab5d05dddf737bfcd60746fa4fcdaa0331fd0110 | |
parent | d7ed9ef9a005643dc04dc4ba8896e487ead9615d [diff] |
Properly size response buffer in ifc_act_on_address Currently, any netlink error reported in ifc_act_on_address is reported as EINVAL, because the receive buffer is too short and the NLMSG_OK check fails on it. Make the buffer long enough so the function can return the correct netlink error to the caller. Test: new test coverage in other CL in this topic Change-Id: Ica752db834a0fd614312b800d88721826be08d56