diff options
| author | Chuck Lever <[email protected]> | 2023-09-21 13:08:07 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-10-02 19:34:21 +0000 |
| commit | 160f404495aa9282cac99b518d1b379e31ef1bdd (patch) | |
| tree | 8345d80ca281195662936c75ae1c85fabbc6ede0 /tools/net/ynl/generated/handshake-user.h | |
| parent | handshake: Fix sign of socket file descriptor fields (diff) | |
| download | kernel-160f404495aa9282cac99b518d1b379e31ef1bdd.tar.gz kernel-160f404495aa9282cac99b518d1b379e31ef1bdd.zip | |
handshake: Fix sign of key_serial_t fields
key_serial_t fields are signed integers. Use nla_get/put_s32 for
those to avoid implicit signed conversion in the netlink protocol.
Signed-off-by: Chuck Lever <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/169530167716.8905.645746457741372879.stgit@oracle-102.nfsv4bat.org
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/handshake-user.h')
| -rw-r--r-- | tools/net/ynl/generated/handshake-user.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/net/ynl/generated/handshake-user.h b/tools/net/ynl/generated/handshake-user.h index f8e481fa9e09..2b34acc608de 100644 --- a/tools/net/ynl/generated/handshake-user.h +++ b/tools/net/ynl/generated/handshake-user.h @@ -28,8 +28,8 @@ struct handshake_x509 { __u32 privkey:1; } _present; - __u32 cert; - __u32 privkey; + __s32 cert; + __s32 privkey; }; /* ============== HANDSHAKE_CMD_ACCEPT ============== */ |
