Re: [PATCH net 2/2] rxrpc: Fix bug due to prealloc collision

Jakub Kicinski
2025-07-08T19:03:38Z

On Mon, 7 Jul 2025 11:24:34 +0100 David Howells wrote:
> + rxrpc_prefail_call(call, RXRPC_CALL_LOCAL_ERROR, -EBADSLT);
> + __set_bit(RXRPC_CALL_RELEASED, &call->flags);

is the __set_bit() needed / intentional here?
Looks like rxrpc_prefail_call() does:

WARN_ON_ONCE(__test_and_set_bit(RXRPC_CALL_RELEASED, &call->flags));