mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
sock: annotate data-races around prot->memory_pressure
[ Upstream commit76f33296d2] *prot->memory_pressure is read/writen locklessly, we need to add proper annotations. A recent commit added a new race, it is time to audit all accesses. Fixes:2d0c88e84e("sock: Fix misuse of sk_under_memory_pressure()") Fixes:4d93df0abd("[SCTP]: Rewrite of sctp buffer management code") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Abel Wu <wuyun.abel@bytedance.com> Reviewed-by: Shakeel Butt <shakeelb@google.com> Link: https://lore.kernel.org/r/20230818015132.2699348-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
b8bcc45afc
commit
2a7d2f2b8c
2 changed files with 5 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue