aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2024-06-20 15:21:54 +0200
committerJakub Kicinski <kuba@kernel.org>2024-06-24 16:41:22 -0700
commitbdacf3e34945232037979b977d7f409f734a7226 (patch)
treeef73eb7e2aadb3bf11e0806746de24032a3935d1 /net/ipv4/tcp_ipv4.c
parent43d7ca2907cb0e8a23d73934a5cf000e24b0aa22 (diff)
downloadlinux-bdacf3e34945232037979b977d7f409f734a7226.tar.gz
linux-bdacf3e34945232037979b977d7f409f734a7226.tar.bz2
linux-bdacf3e34945232037979b977d7f409f734a7226.zip
net: Use nested-BH locking for napi_alloc_cache.
napi_alloc_cache is a per-CPU variable and relies on disabled BH for its locking. Without per-CPU locking in local_bh_disable() on PREEMPT_RT this data structure requires explicit locking. Add a local_lock_t to the data structure and use local_lock_nested_bh() for locking. This change adds only lockdep coverage and does not alter the functional behaviour for !PREEMPT_RT. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Link: https://patch.msgid.link/20240620132727.660738-5-bigeasy@linutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions