[PATCH] af_rxrpc accept race (was: RxRPC: 3 issues found in my example code)

David Howells dhowells at redhat.com
Thu May 15 07:42:14 PDT 2014


Tim Smith <tim at electronghost.co.uk> wrote:

> 1) allocate memory for the call (need it no matter what)
> 2) take the lock for the service.
>      If it's not being removed give it the call
>      If it *is* being removed drop the lock & make a new one.

If the service is being removed, you can reject the call.

David



More information about the linux-afs mailing list