Skip to content
Commit a6b07a51 authored by Chuck Lever's avatar Chuck Lever Committed by Jakub Kicinski
Browse files

handshake: Fix sign of socket file descriptor fields



Socket file descriptors are signed integers. Use nla_get/put_s32 for
those to avoid implicit signed conversion in the netlink protocol.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/169530165057.8905.8650469415145814828.stgit@oracle-102.nfsv4bat.org
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent af54c197
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment