| commit | 41c31f318a5209922d051e293c61e4724daad11c | [log] [tgz] |
|---|---|---|
| author | Lifeng Sun <lifongsun@gmail.com> | Wed Apr 27 22:04:51 2011 +0000 |
| committer | David S. Miller <davem@davemloft.net> | Mon May 02 15:41:29 2011 -0700 |
| tree | 23e17b3010423fcc721e524bd9a559703063191f | |
| parent | 983960b159a75621855283030d92a80bea92e071 [diff] |
networking: inappropriate ioctl operation should return ENOTTY
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>