Re: [PATCH] rxrpc: fix handling of an unsupported token type in rxrpc_read()

From: David Howells
Date: Mon Jan 04 2021 - 07:52:59 EST


trix@xxxxxxxxxx wrote:

> - switch (token->security_index) {
> - case RXRPC_SECURITY_RXKAD:
> ...
> - switch (token->security_index) {
> - case RXRPC_SECURITY_RXKAD:

These switches need to be kept. There's another security type on the way.
See:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rxgk

for example. I'll have a look later.

David