Commit 1605eaa6 authored by Cy Schubert's avatar Cy Schubert
Browse files

ipfilter: Locking sysctls here is not required

Locking of data structures touched by sysctls is more finely locked
in ipflter therefore higher level locks are redundant.

MFC after:	3 days
parent 73db3b64
......@@ -349,7 +349,6 @@ sysctl_ipf_int ( SYSCTL_HANDLER_ARGS )
{
int error = 0;
WRITE_ENTER(&V_ipfmain.ipf_mutex);
if (arg1)
error = SYSCTL_OUT(req, arg1, sizeof(int));
else
......@@ -368,7 +367,6 @@ sysctl_ipf_int ( SYSCTL_HANDLER_ARGS )
}
sysctl_error:
RWLOCK_EXIT(&V_ipfmain.ipf_mutex);
return (error);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment