diff options
| author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2016-01-05 04:12:49 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-01-05 16:44:06 -0500 |
| commit | 2fbf575867e5a181a3f3e5e29a2f0c205cca5fb3 (patch) | |
| tree | d62063e6ff6ad85f92d8be43cfd3896385653dfe /include/uapi/linux | |
| parent | 1633bf118bfbc641a7d3a4bbb0b2b20c9c60f8d7 (diff) | |
include/uapi/linux/sockios.h: mark SIOCRTMSG unused
IOCTL SIOCRTMSG does nothing but return EINVAL.
So comment it as unused.
SIOCRTMSG is only used in:
* net/ipv4/af_inet.c
* include/uapi/linux/sockios.h
inet_ioctl calls ip_rt_ioctl.
ip_rt_ioctl only handles SIOCADDRT and SIOCDELRT and returns -EINVAL
otherwise.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/sockios.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/sockios.h b/include/uapi/linux/sockios.h index e888b1aed69f..8e7890b26d9a 100644 --- a/include/uapi/linux/sockios.h +++ b/include/uapi/linux/sockios.h | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | /* Routing table calls. */ | 27 | /* Routing table calls. */ |
| 28 | #define SIOCADDRT 0x890B /* add routing table entry */ | 28 | #define SIOCADDRT 0x890B /* add routing table entry */ |
| 29 | #define SIOCDELRT 0x890C /* delete routing table entry */ | 29 | #define SIOCDELRT 0x890C /* delete routing table entry */ |
| 30 | #define SIOCRTMSG 0x890D /* call to routing system */ | 30 | #define SIOCRTMSG 0x890D /* unused */ |
| 31 | 31 | ||
| 32 | /* Socket configuration controls. */ | 32 | /* Socket configuration controls. */ |
| 33 | #define SIOCGIFNAME 0x8910 /* get iface name */ | 33 | #define SIOCGIFNAME 0x8910 /* get iface name */ |
