Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1302230

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1 v2] include/uapi/linux/sockios.h: mark SIOCRTMSG unused
Date 2016-01-05 22:50 +0100
Message-ID <qNHEm-cI-13@gated-at.bofh.it> (permalink)
References <qNlNx-189-33@gated-at.bofh.it> <qNvWx-8rN-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Tue,  5 Jan 2016 10:12:49 +0100

> 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>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/1] include/uapi/linux/sockios.h: mark SIOCRTMSG unused David Miller <davem@davemloft.net> - 2016-01-04 23:30 +0100
  [PATCH 1/1 v2] include/uapi/linux/sockios.h: mark SIOCRTMSG unused Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-01-05 10:20 +0100
    Re: [PATCH 1/1 v2] include/uapi/linux/sockios.h: mark SIOCRTMSG  unused David Miller <davem@davemloft.net> - 2016-01-05 22:50 +0100

csiph-web