How to replace set_fs(KERNEL_DS) for a kernel 5.10.x module driver version

Jorge Fernandez Monteagudo jorgefm at
Tue Jan 12 04:12:36 EST 2021

>> Well, I don't know if I'm allowed to share the full source code...
>> But, is it not enough with the minimal code I attached to grasp the
>> problem?
>I'm not allowed to help vendors with closed source kernel modules,

I understand you... I'll ask for permission because there are no secrets no patents in the code. It's only an old code unmanteined I was trying to update to last kernel version.

Thanks Greg!

More information about the Kernelnewbies mailing list