Bug 998

Summary: kni: corruption when using incompatible version of rte_kni.ko
Product: DPDK Reporter: omegacoleman
Component: otherAssignee: dev
Status: UNCONFIRMED ---    
Severity: critical    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: dmesg for one BUG it caused

Description omegacoleman 2022-04-21 06:31:02 CEST
Created attachment 201 [details]
dmesg for one BUG it caused

KNI ioctl functions copy data from userspace lib, and this interface of kmod is not compatible indeed. If the user use incompatible rte_kni.ko, corruption is detected in struct rte_kni_device_info. 

It could cause a BUG in librte_kni.ko and there's no measure to restore kni function without reboot. The related EAL thread also vanishes.


> The attachment is dmesg for one BUG it caused.