linux_dsm_epyc7002/net/can/j1939
Oleksij Rempel c48c8c1e2e can: j1939: main: j1939_ndev_to_priv(): avoid crash if can_ml_priv is NULL
This patch avoids a NULL pointer deref crash if ndev->ml_priv is NULL.

Reported-by: syzbot+95c8e0d9dffde15b6c5c@syzkaller.appspotmail.com
Fixes: 9d71dd0c70 ("can: add support of SAE J1939 protocol")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
2019-11-13 10:42:34 +01:00
..
address-claim.c can: add support of SAE J1939 protocol 2019-09-04 14:22:33 +02:00
bus.c can: add support of SAE J1939 protocol 2019-09-04 14:22:33 +02:00
j1939-priv.h can: add support of SAE J1939 protocol 2019-09-04 14:22:33 +02:00
Kconfig can: add support of SAE J1939 protocol 2019-09-04 14:22:33 +02:00
main.c can: j1939: main: j1939_ndev_to_priv(): avoid crash if can_ml_priv is NULL 2019-11-13 10:42:34 +01:00
Makefile can: add support of SAE J1939 protocol 2019-09-04 14:22:33 +02:00
socket.c can: j1939: move j1939_priv_put() into sk_destruct callback 2019-11-13 10:42:33 +01:00
transport.c can: j1939: transport: j1939_xtp_rx_eoma_one(): Add sanity check for correct total message size 2019-11-04 21:47:23 +01:00