[NET COMPAT]: Fix hangs caused by bugs in do_netfilter_replace().
It is illegal to try to access things via userspace pointers after set_fs(KERNEL_DS), and that is exactly what this function was doing. Fix by using compat_alloc_user_user_space(), this preserves the copy minimization the original code had.
Showing
Please register or sign in to comment