mirror of
https://github.com/intrepidcs/intrepid-socketcan-kernel-module.git
synced 2026-08-05 01:18:37 +02:00
Use non-sensitive kfree function
This is not sensitive data, kzfree was just used for symmetry. kzfree was actually renamed to kfree_sensitive to show that the symmetry was unfounded. This change will allow us to compile in kernels 5.10+
This commit is contained in:
+1
-1
@@ -838,7 +838,7 @@ exit:
|
||||
return ret;
|
||||
|
||||
free_net_devices:
|
||||
kzfree(net_devices);
|
||||
kfree(net_devices);
|
||||
free_shared_mem:
|
||||
vfree(shared_mem);
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user