summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2020-09-21 16:32:41 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-21 16:34:44 -0700
commit059d90b9f1c52e6aed259ba7ac4847de297273c6 (patch)
tree5a15df65525b3d754cac56992a8ff29ef465ba9e
parent73f3a34b524ec8a6cd3e579090642178b7b83807 (diff)
Receive ACK when deleting address in syscall tests
PiperOrigin-RevId: 332961666
-rw-r--r--test/syscalls/linux/socket_netlink_route_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/socket_netlink_route_util.cc b/test/syscalls/linux/socket_netlink_route_util.cc
index a354f3f80..7a0bad4cb 100644
--- a/test/syscalls/linux/socket_netlink_route_util.cc
+++ b/test/syscalls/linux/socket_netlink_route_util.cc
@@ -42,7 +42,7 @@ PosixError PopulateNlmsghdr(LinkAddrModification modification,
return NoError();
case LinkAddrModification::kDelete:
hdr->nlmsg_type = RTM_DELADDR;
- hdr->nlmsg_flags = NLM_F_REQUEST;
+ hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK;
return NoError();
}