Re: WARNING: refcount bug in find_key_to_update

From: David Howells
Date: Fri Oct 18 2019 - 12:46:32 EST


Hillf Danton <hdanton@xxxxxxxx> wrote:

> - (1 << KEY_FLAG_REVOKED))) {
> + (1 << KEY_FLAG_REVOKED)) || !key_tryget(key)) {
> kleave(" = NULL [x]");
> return NULL;
> }
> - __key_get(key);

That should be ineffective and ought not to fix the bug.

David