network/queue: detach request from queue when netlink reply received

Then, we can find and use the Request object after sending netlink
message.

Preparation for later commits.
This commit is contained in:
Yu Watanabe
2023-07-29 23:27:21 +09:00
parent d256945fd0
commit 008f1e5443
2 changed files with 22 additions and 4 deletions
+2
View File
@@ -80,6 +80,8 @@ struct Request {
* request, and pass this request to the netlink_call_async(), and set the destroy function
* to the slot. */
request_netlink_handler_t netlink_handler;
bool waiting_reply;
};
Request *request_ref(Request *req);