summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorJoseph Kain <jkain@nuro.ai>2026-10-29 14:11:01 -0700
committerDave Miller <davem@davem-thinkpadp1gen8.ibmlond.csb>2026-11-04 08:43:21 +0000
commit241dec6f9ab74d8c3ef246764f3611666b96b9e1 (patch)
tree96b19cc438c9d6d74cc476c1972158fe0bc1dbbc /rust/kernel/alloc
parent3f1054a0cb09552dd54db024694f74747f9f1d49 (diff)
net: stop defer_count outliving the deferred-free list
After the llist conversion, rejected frees retain their counter increments. A producer racing the counter reset and list detach can also leave a count for an skb already drained. Deferred freeing can then remain disabled while the list is empty. Undo rejected reservations and subtract only the number of skbs drained. Allow admission up to the configured limit. Retain the halfway notification and also notify when the reserved count reaches the limit, covering reservations published after an earlier purge. Fixes: 844c9db7f7f5 ("net: use llist for sd->defer_list") Signed-off-by: Joseph Kain <jkain@nuro.ai> Assisted-by: LLM Signed-off-by: Dave Miller <davem@davem-thinkpadp1gen8.ibmlond.csb>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions