linux/tools/net/ynl/generated
Jakub Kicinski 83f2df9d66 tools: ynl-gen: always construct struct ynl_req_state
struct ynl_req_state carries reply-related info from generated code
into generic YNL code. While we don't need reply info to execute
a request without a reply, we still need to pass in the struct, because
it's also where we get the pointer to struct ynl_sock from. Passing NULL
results in crashes if kernel returns an error or an unexpected reply.

Fixes: dc0956c98f ("tools: ynl-gen: move the response reading logic into YNL")
Link: https://lore.kernel.org/r/20231126225858.2144136-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-11-29 08:44:02 -08:00
..
devlink-user.c tools: ynl-gen: always construct struct ynl_req_state 2023-11-29 08:44:02 -08:00
devlink-user.h Merge branch 'devlink-finish-conversion-to-generated-split_ops' 2023-10-23 16:16:52 -07:00
ethtool-user.c tools: ynl-gen: always construct struct ynl_req_state 2023-11-29 08:44:02 -08:00
ethtool-user.h tools: ynl-gen: change spacing around __attribute__ 2023-10-23 10:15:36 -07:00
fou-user.c tools: ynl-gen: always construct struct ynl_req_state 2023-11-29 08:44:02 -08:00
fou-user.h tools: ynl-gen: change spacing around __attribute__ 2023-10-23 10:15:36 -07:00
handshake-user.c tools: ynl-gen: always construct struct ynl_req_state 2023-11-29 08:44:02 -08:00
handshake-user.h tools: ynl-gen: change spacing around __attribute__ 2023-10-23 10:15:36 -07:00
Makefile Networking changes for 6.7. 2023-10-31 05:10:11 -10:00
netdev-user.c tools: ynl: extend netdev sample to dump xdp-rx-metadata-features 2023-09-15 11:26:58 -07:00
netdev-user.h tools: ynl-gen: change spacing around __attribute__ 2023-10-23 10:15:36 -07:00
nfsd-user.c nfsd: regenerate user space parsers after ynl-gen changes 2023-11-06 09:03:46 +00:00
nfsd-user.h nfsd: regenerate user space parsers after ynl-gen changes 2023-11-06 09:03:46 +00:00