"Invalid argument" error is originated in check_ack function (lib/netlink.c), because of rep.type == NLMSG_ERROR.