rxrpc: Ignore unknown tokens in key payload unless no known tokens
authorDavid Howells <dhowells@redhat.com>
Thu, 15 Oct 2020 14:59:36 +0000 (15:59 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 23 Nov 2020 18:09:30 +0000 (18:09 +0000)
commit9a0e6464f45b056163e6f04b14df44b15f02ed3a
tree7f1a9cdcfa75a4128d3d03be9566711b751a63c8
parent4c20c33340269e2924d2040a5f1ca2571fd8b258
rxrpc: Ignore unknown tokens in key payload unless no known tokens

When parsing a payload for an rxrpc-type key, ignore any tokens that are
not of a known type and don't give an error for them - unless there are no
tokens of a known type.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/key.c