Thread (6 messages) 6 messages, 3 authors, 2016-01-05

Re: [PATCH 1/1] include/uapi/linux/sockios.h: mark SIOCRTMSG unused

flat view

From: Michael Kerrisk (man-pages) <hidden>
Date: 2015-12-30 10:56:41
Also in: lkml, netdev

Hi Heinrich,

On 12/29/2015 11:22 PM, Heinrich Schuchardt wrote:
IOCTL SIOCRTMSG does nothing but return EINVAL.

So comment it as unused.
Can you say something about how you confirmed this?
It's not immediately obvious from the code.

Cheers,

Michael

quoted hunk ↗ jump to hunk
Signed-off-by: Heinrich Schuchardt <redacted>
---
 include/uapi/linux/sockios.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/sockios.h b/include/uapi/linux/sockios.h
index e888b1a..8e7890b 100644
--- a/include/uapi/linux/sockios.h
+++ b/include/uapi/linux/sockios.h
@@ -27,7 +27,7 @@
 /* Routing table calls. */
 #define SIOCADDRT	0x890B		/* add routing table entry	*/
 #define SIOCDELRT	0x890C		/* delete routing table entry	*/
-#define SIOCRTMSG	0x890D		/* call to routing system	*/
+#define SIOCRTMSG	0x890D		/* unused			*/
 
 /* Socket configuration controls. */
 #define SIOCGIFNAME	0x8910		/* get iface name		*/

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help