android_system_core/libnetutils
Lorenzo Colitti a9027581bd 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
2019-12-02 17:37:39 +09:00
..
include/netutils
Android.bp
NOTICE
OWNERS
checksum.c
dhcpclient.c
dhcpmsg.c
dhcpmsg.h
dhcptool.c
ifc_utils.c Properly size response buffer in ifc_act_on_address 2019-12-02 17:37:39 +09:00
packet.c
packet.h