summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mpow.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2025-08-03 21:20:14 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2025-08-03 21:20:14 +0900
commite884a8a0c573ca5c191b269f31993733ecb6250e (patch)
treeba2f98433f23fc6caf6a01b17d75ad9c7ed22d4f /lib/mpi/mpi-mpow.c
parente8cf6875005b017c293bf1b9be707c43f3eff9f4 (diff)
firewire: core: call FCP address handlers outside RCU read-side critical section
The former commit added reference counting to ensure safe invocations of address handlers. Unlike the exclusive-region address handlers, all FCP address handlers should be called on receiving an FCP request. This commit uses the part of kernel stack to collect address handlers up to 4 within the section, then invoke them outside of the section. Reference counting ensures that each handler remains valid and safe to call. Lifting the limitation of supporting only 4 handlers is left for next work. Link: https://lore.kernel.org/r/20250803122015.236493-4-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'lib/mpi/mpi-mpow.c')
0 files changed, 0 insertions, 0 deletions