commit | a9027581bdb6af73fbd2e3702bc79bee782b95cf | [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 | c3d38969cae89a8433aa286bbbb3960a42e99475 [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