Avoid ldisc_ioctl() racing unregister_candev()
authornorly <ny-git@enpas.org>
Fri, 11 Jan 2019 02:38:35 +0000 (03:38 +0100)
committernorly <ny-git@enpas.org>
Wed, 23 Jan 2019 01:44:17 +0000 (02:44 +0100)
commitcdda0fdf37db6d4242c5e04d7a26e500104e204b
treec79cf66b7c7304f68fdad8d835874e15c518a4c7
parente0f768df9e530e4bc69fa758bd4dc956d8f883da
Avoid ldisc_ioctl() racing unregister_candev()

When getting the CAN interface's name via the SIOCGIFNAME ioctl,
elm->dev->name may no longer exist because the interface is being shut
down.

Also, print the name of the interface to dmesg.
module/elmcan.c
readme.rst