diff options
author | norly <ny-git@enpas.org> | 2019-01-11 03:38:35 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2019-01-23 02:44:17 +0100 |
commit | cdda0fdf37db6d4242c5e04d7a26e500104e204b (patch) | |
tree | c79cf66b7c7304f68fdad8d835874e15c518a4c7 /readme.rst | |
parent | e0f768df9e530e4bc69fa758bd4dc956d8f883da (diff) |
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.
Diffstat (limited to 'readme.rst')
-rw-r--r-- | readme.rst | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -270,8 +270,6 @@ To Do list for future development - ``if (!elm)``: Race with ``ldisc_close()`` -- ``elm->dev``: Race in ``ldisc_ioctl()`` - - DMA capable rx/tx buffers - fixup constants, constant for '``>``' |