Skip to content
Commit 53bf9164 authored by Abel Wu's avatar Abel Wu Committed by Jakub Kicinski
Browse files

inet: Cleanup on charging memory for newly accepted sockets



If there is no net-memcg associated with the sock, don't bother
calculating its memory usage for charge.

Signed-off-by: default avatarAbel Wu <wuyun.abel@bytedance.com>
Link: https://lore.kernel.org/r/20230620092712.16217-1-wuyun.abel@bytedance.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent ca4fa874
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment