can: af_can: export can_sock_destruct()
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 7 Nov 2019 10:55:42 +0000 (11:55 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 13 Nov 2019 09:42:33 +0000 (10:42 +0100)
commit975987e7015bb12a482df7f14fd524417d2c8e8f
treeb5fb648bf539f097cb94e64e33f74f493ed1203c
parent5aa4277d4368c099223bbcd3a9086f3351a12ce9
can: af_can: export can_sock_destruct()

In j1939 we need our own struct sock::sk_destruct callback. Export the
generic af_can can_sock_destruct() that allows us to chain-call it.

Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
include/linux/can/core.h
net/can/af_can.c