aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-10-27 17:12:37 +0800
committerMarc Kleine-Budde <[email protected]>2022-10-27 13:34:23 +0200
commitc3c06c61890da80494bb196f75d89b791adda87f (patch)
tree29022c2c017da17e2fd2687de6a5a0d124e8650b /lib/mpi/mpi-sub-ui.c
parentfd0c3b763afd44454301c4c6cbe744dac69227ca (diff)
can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()
It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. The skb is unlinked from the queue, so it can be freed after spin_unlock_irqrestore(). Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Signed-off-by: Yang Yingliang <[email protected]> Acked-by: Oleksij Rempel <[email protected]> Link: https://lore.kernel.org/all/[email protected] Cc: [email protected] [mkl: adjust subject] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions