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:
Paul Hollinsky
2021-01-29 15:50:05 -05:00
parent 6bbcf1b527
commit 9da27da69e
+1 -1
View File
@@ -838,7 +838,7 @@ exit:
return ret;
free_net_devices:
kzfree(net_devices);
kfree(net_devices);
free_shared_mem:
vfree(shared_mem);
return ret;