https://github.com/torvalds/linux
Revision 41c31f318a5209922d051e293c61e4724daad11c authored by Lifeng Sun on 27 April 2011, 22:04:51 UTC, committed by David S. Miller on 02 May 2011, 22:41:29 UTC
ioctl() calls against a socket with an inappropriate ioctl operation
are incorrectly returning EINVAL rather than ENOTTY:

  [ENOTTY]
      Inappropriate I/O control operation.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=33992

Signed-off-by: Lifeng Sun <lifongsun@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 983960b
History
Tip revision: 41c31f318a5209922d051e293c61e4724daad11c authored by Lifeng Sun on 27 April 2011, 22:04:51 UTC
networking: inappropriate ioctl operation should return ENOTTY
Tip revision: 41c31f3
File Mode Size
Makefile -rw-r--r-- 394 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.1 KB
ipc_sysctl.c -rw-r--r-- 5.1 KB
ipcns_notifier.c -rw-r--r-- 2.2 KB
mq_sysctl.c -rw-r--r-- 2.7 KB
mqueue.c -rw-r--r-- 30.5 KB
msg.c -rw-r--r-- 20.9 KB
msgutil.c -rw-r--r-- 2.8 KB
namespace.c -rw-r--r-- 3.6 KB
sem.c -rw-r--r-- 40.4 KB
shm.c -rw-r--r-- 26.5 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 23.1 KB
util.h -rw-r--r-- 5.3 KB

back to top