Fixes to iproute.

1. Expect NLMSG_DONE after a dump. Otherwise, the NLMSG_DONE
   message will remain in the socket buffer and the next read on
   the socket (e.g., the read for an ACK) will get an unexpected
2. Properly pad attributes that are not multiples of 4 bytes
   long. This is useful, for example, for interface names, which
   are not necessarily a multiple of 4 characters long.

Change-Id: I08872ae6b287ec24231fdb4c9e54852c87daca69
1 file changed
tree: 6dc2bce1cddc0cb6177b2c4c11d38f0789dad489
  1. net/