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

Ferruh Yigit ferruh.yigit at intel.com
Tue Sep 18 18:19:39 CEST 2018


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>


More information about the dev mailing list