diff options
author | 2020-09-04 14:01:24 -0300 | |
---|---|---|
committer | 2020-10-05 16:33:28 +0100 | |
commit | 56305118e05b2db8d0395bba640ac9a3aee92624 (patch) | |
tree | fbba433f6f0b290d1c97ea775abadbe7eec20ad5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/core: check length before updating Ethertype in skb_mpls_{push,pop} (diff) | |
download | wireguard-linux-56305118e05b2db8d0395bba640ac9a3aee92624.tar.xz wireguard-linux-56305118e05b2db8d0395bba640ac9a3aee92624.zip |
rxrpc: Fix rxkad token xdr encoding
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions