]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite093109d855081f2f893ff896e7bcf8312496673
tree7f1a9cdcfa75a4128d3d03be9566711b751a63c8
parent908ae1428c92a19b796927e5ee274bf4d7a186be
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