From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] kni: return failure for all ioctls Date: Tue, 18 Sep 2018 17:19:39 +0100 Message-ID: References: <20180913214652.20771-1-dg@adax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Dan Gora , dev@dpdk.org Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 40C994F93 for ; Tue, 18 Sep 2018 18:19:42 +0200 (CEST) In-Reply-To: <20180913214652.20771-1-dg@adax.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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