Re: [PATCH net 4/5] afs: Fix netns teardown to cancel the preallocation charger
From: Jakub Kicinski
Date: Fri Jun 12 2026 - 19:48:58 EST
On Tue, 9 Jun 2026 15:09:08 +0100 David Howells wrote:
> Fix the teardown of an afs network namespace to make sure it cancels the
> work item that keeps the preallocated rxrpc call/conn/peer queue charged
> before incoming calls are disabled (i.e. listen 0).
>
> Also, if net->live is false because the afs netns is being deleted, make
> afs_charge_preallocation() skip charging and make afs_rx_new_call() avoid
> requeuing the charger.
>
> (This was found by AI review).
Both Sashikos think this patch is still racy FWIW but not a blocker IMO