Skip to content
Snippets Groups Projects
user avatar
Lifeng Sun authored
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: default avatarLifeng Sun <lifongsun@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
41c31f31
History
Name Last commit Last update