summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorMarc Dionne <marc.dionne@auristor.com>2020-09-04 14:01:24 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-14 09:46:23 +0200
commitbccdc2fd68a6d067e113332b9c2db5ca064a2916 (patch)
tree8d2daaba1f396fd0467a3e78ae5c3d6e8361060b /include/linux/fpga/fpga-mgr.h
parentaaf8fe791e1618a171bd36c39225e3ec8e478abb (diff)
rxrpc: Fix rxkad token xdr encoding
[ Upstream commit 56305118e05b2db8d0395bba640ac9a3aee92624 ] The session key should be encoded with just the 8 data bytes and no length; ENCODE_DATA precedes it with a 4 byte length, which confuses some existing tools that try to parse this format. Add an ENCODE_BYTES macro that does not include a length, and use it for the key. Also adjust the expected length. Note that commit 774521f353e1d ("rxrpc: Fix an assertion in rxrpc_read()") had fixed a BUG by changing the length rather than fixing the encoding. The original length was correct. Fixes: 99455153d067 ("RxRPC: Parse security index 5 keys (Kerberos 5)") Signed-off-by: Marc Dionne <marc.dionne@auristor.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions