summaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/handshake-user.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2023-12-07 02:03:50 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-07 02:03:50 +0100
commit0c92218f4e7d4b4a7245d32bea042fa6f9cc39d7 (patch)
tree44d6ba1879278a5a1b58178e9b0f799427e52e0e /tools/net/ynl/generated/handshake-user.c
parentmm/madvise: add cond_resched() in madvise_cold_or_pageout_pte_range() (diff)
parentLinux 6.7-rc4 (diff)
downloadlinux-0c92218f4e7d4b4a7245d32bea042fa6f9cc39d7.tar.xz
linux-0c92218f4e7d4b4a7245d32bea042fa6f9cc39d7.zip
Merge branch 'master' into mm-hotfixes-stable
Diffstat (limited to 'tools/net/ynl/generated/handshake-user.c')
-rw-r--r--tools/net/ynl/generated/handshake-user.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/net/ynl/generated/handshake-user.c b/tools/net/ynl/generated/handshake-user.c
index 7c67765daf90..6901f8462cca 100644
--- a/tools/net/ynl/generated/handshake-user.c
+++ b/tools/net/ynl/generated/handshake-user.c
@@ -295,6 +295,7 @@ void handshake_done_req_free(struct handshake_done_req *req)
int handshake_done(struct ynl_sock *ys, struct handshake_done_req *req)
{
+ struct ynl_req_state yrs = { .yarg = { .ys = ys, }, };
struct nlmsghdr *nlh;
int err;
@@ -308,7 +309,7 @@ int handshake_done(struct ynl_sock *ys, struct handshake_done_req *req)
for (unsigned int i = 0; i < req->n_remote_auth; i++)
mnl_attr_put_u32(nlh, HANDSHAKE_A_DONE_REMOTE_AUTH, req->remote_auth[i]);
- err = ynl_exec(ys, nlh, NULL);
+ err = ynl_exec(ys, nlh, &yrs);
if (err < 0)
return -1;