Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH] rxrpc: fix handling of an unsupported token type in rxrpc_read() | Date | Wed, 06 Jan 2021 19:44:27 +0000 |
| |
Tom Rix <trix@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.
David
| |