Bug 998 - kni: corruption when using incompatible version of rte_kni.ko
Summary: kni: corruption when using incompatible version of rte_kni.ko
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: other (show other bugs)
Version: unspecified
Hardware: All All
: Normal critical
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2022-04-21 06:31 CEST by omegacoleman
Modified: 2022-04-21 06:31 CEST (History)
0 users



Attachments
dmesg for one BUG it caused (1.96 KB, text/plain)
2022-04-21 06:31 CEST, omegacoleman
Details

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.

Note You need to log in before you can comment on or make changes to this bug.