aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-09-21 09:08:07 -0400
committerJakub Kicinski <kuba@kernel.org>2023-10-02 12:34:21 -0700
commit160f404495aa9282cac99b518d1b379e31ef1bdd (patch)
tree8345d80ca281195662936c75ae1c85fabbc6ede0 /Documentation/netlink
parenta6b07a51b161ba1ad3d81919955fe77b697f9d48 (diff)
downloadlinux-160f404495aa9282cac99b518d1b379e31ef1bdd.tar.gz
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 <chuck.lever@oracle.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/169530167716.8905.645746457741372879.stgit@oracle-102.nfsv4bat.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/netlink')
-rw-r--r--Documentation/netlink/specs/handshake.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/netlink/specs/handshake.yaml b/Documentation/netlink/specs/handshake.yaml
index a49b46b80e165..b934cc513e3d6 100644
--- a/Documentation/netlink/specs/handshake.yaml
+++ b/Documentation/netlink/specs/handshake.yaml
@@ -34,10 +34,10 @@ attribute-sets:
attributes:
-
name: cert
- type: u32
+ type: s32
-
name: privkey
- type: u32
+ type: s32
-
name: accept
attributes: