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

Path csiph.com!feeder.erje.net!1.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1 v2] include/uapi/linux/sockios.h: mark SIOCRTMSG unused
Date Tue, 05 Jan 2016 22:50:02 +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>
X-Mailer Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
MIME-Version 1.0
Content-Type Text/Plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Greylist Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 05 Jan 2016 13:44:24 -0800 (PST)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
X-Original-Cc linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, mtk.manpages@gmail.com, kuznet@ms2.inr.ac.ru, jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@trash.net, netdev@vger.kernel.org
X-Original-Date Tue, 05 Jan 2016 16:44:22 -0500 (EST)
X-Original-Message-ID <20160105.164422.955902617951180797.davem@davemloft.net>
X-Original-References <20160104.171953.1963808714374349079.davem@davemloft.net> <1451985169-4622-1-git-send-email-xypron.glpk@gmx.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1302230

Show key headers only | 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