diff options
author | Oliver Hartkopp <[email protected]> | 2019-07-29 22:40:56 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-07-29 14:12:35 -0700 |
commit | 473d924d7d46cb57aa4c1863261d18366af345af (patch) | |
tree | 797f90f9d80608f7e7175511617de44ecdc7fbea /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 1cb9dfca39eb406960f8f84864ddd6ba329ec321 (diff) |
can: fix ioctl function removal
Commit 60649d4e0af ("can: remove obsolete empty ioctl() handler") replaced the
almost empty can_ioctl() function with sock_no_ioctl() which always returns
-EOPNOTSUPP.
Even though we don't have any ioctl() functions on socket/network layer we need
to return -ENOIOCTLCMD to be able to forward ioctl commands like SIOCGIFINDEX
to the network driver layer.
This patch fixes the wrong return codes in the CAN network layer protocols.
Reported-by: kernel test robot <[email protected]>
Fixes: 60649d4e0af ("can: remove obsolete empty ioctl() handler")
Signed-off-by: Oliver Hartkopp <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions