[PATCH] rxrpc: fix handling of an unsupported token type in rxrpc_read()
Tom Rix
trix at redhat.com
Wed Jan 6 15:38:44 EST 2021
On 1/6/21 11:44 AM, David Howells wrote:
> Tom Rix <trix at redhat.com> wrote:
>
>> These two loops iterate over the same data, i believe returning here is all
>> that is needed.
> But if the first loop is made to support a new type, but the second loop is
> missed, it will then likely oops. Besides, the compiler should optimise both
> paths together.
You are right, I was only considering the existing cases.
Tom
> David
>
More information about the linux-afs
mailing list