diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2019-11-07 11:57:36 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-11-13 10:42:33 +0100 |
commit | 25fe97cb7620ef2e6b4f44ef0de4e371adf6c1d0 (patch) | |
tree | 6dab8ddc70be226d9afd6faa2baf70cd57428768 /samples/kprobes | |
parent | can: af_can: export can_sock_destruct() (diff) | |
download | linux-25fe97cb7620ef2e6b4f44ef0de4e371adf6c1d0.tar.xz linux-25fe97cb7620ef2e6b4f44ef0de4e371adf6c1d0.zip |
can: j1939: move j1939_priv_put() into sk_destruct callback
This patch delays the j1939_priv_put() until the socket is destroyed via
the sk_destruct callback, to avoid use-after-free problems.
Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Diffstat (limited to 'samples/kprobes')
0 files changed, 0 insertions, 0 deletions