diff options
author | Oleksij Rempel <[email protected]> | 2021-06-17 15:06:23 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2021-06-19 23:54:00 +0200 |
commit | 22c696fed25c63c7f67508309820358b94a96b6d (patch) | |
tree | 73f5fa7199d0721932570c9700ab952166869763 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 14a4696bc3118ba49da28f79280e1d55603aa737 (diff) |
can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
Set SOCK_RCU_FREE to let RCU to call sk_destruct() on completion.
Without this patch, we will run in to j1939_can_recv() after priv was
freed by j1939_sk_release()->j1939_sk_sock_destruct()
Fixes: 25fe97cb7620 ("can: j1939: move j1939_priv_put() into sk_destruct callback")
Link: https://lore.kernel.org/r/[email protected]
Cc: linux-stable <[email protected]>
Reported-by: Thadeu Lima de Souza Cascardo <[email protected]>
Reported-by: [email protected]
Signed-off-by: Oleksij Rempel <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions