diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2019-11-07 13:57:36 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-11-13 12:42:33 +0300 |
commit | 25fe97cb7620ef2e6b4f44ef0de4e371adf6c1d0 (patch) | |
tree | 6dab8ddc70be226d9afd6faa2baf70cd57428768 /net/can/raw.c | |
parent | 975987e7015bb12a482df7f14fd524417d2c8e8f (diff) | |
download | linux-25fe97cb7620ef2e6b4f44ef0de4e371adf6c1d0.tar.xz |
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 'net/can/raw.c')
0 files changed, 0 insertions, 0 deletions