[dpdk-dev] [PATCH] kni: return failure for all ioctls

Thomas Monjalon thomas at monjalon.net
Tue Oct 2 17:55:21 CEST 2018


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 <dg at adax.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks




More information about the dev mailing list