From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] kni: return failure for all ioctls Date: Tue, 02 Oct 2018 17:55:21 +0200 Message-ID: <73277529.Xa667ZQCeR@xps> References: <20180913214652.20771-1-dg@adax.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Dan Gora To: Ferruh Yigit Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 99CC45F21 for ; Tue, 2 Oct 2018 17:55:23 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 18/09/2018 18:19, Ferruh Yigit: > On 9/13/2018 10:46 PM, Dan Gora wrote: > > Modify kni_net_ioctl() to return -EOPNOTSUPP for all ioctls instead > > of 0. > > > > This is necessary because the Wicked (and possibly other) network > > interface managers will perform the SIOCGIWNAME ioctl to check if > > the interface is a wireless interface. If the KNI module returns > > success, Wicked will incorrectly interpret the interface as a wireless > > interface. > > > > Signed-off-by: Dan Gora > > Acked-by: Ferruh Yigit Applied, thanks