]> git.baikalelectronics.ru Git - kernel.git/commit
include/uapi/linux/sockios.h: mark SIOCRTMSG unused
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Tue, 5 Jan 2016 09:12:49 +0000 (10:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2016 21:44:06 +0000 (16:44 -0500)
commit5a8a9ac52a38da0d5a5b097a93840831f8ab7ffc
treed62063e6ff6ad85f92d8be43cfd3896385653dfe
parentf8562f54613337b1c75b4ceb85fc06962f94a937
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>
include/uapi/linux/sockios.h