summaryrefslogtreecommitdiffstats
path: root/mm/internal.h
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-11-05 11:07:08 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-11-13 10:42:34 +0100
commitc48c8c1e2e81e71a0f13b83cc5124333f3750064 (patch)
tree14c1cad59500c38b1f03b4d0ca840b8753c8bcff /mm/internal.h
parentcan: j1939: move j1939_priv_put() into sk_destruct callback (diff)
downloadlinux-c48c8c1e2e81e71a0f13b83cc5124333f3750064.tar.xz
linux-c48c8c1e2e81e71a0f13b83cc5124333f3750064.zip
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: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions