]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[NETFILTER]: Consolidate nf_sockopt and compat_nf_sockopt
authorPavel Emelyanov <xemul@openvz.org>
Tue, 13 Nov 2007 10:58:09 +0000 (02:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Nov 2007 10:58:09 +0000 (02:58 -0800)
commit4ce5ba6aecb218981fc76585b6d9a7d0019e61b5
treebcbe1ab04a0f88d3069f2c43a492b51671c30e22
parente0bf9cf15fc30d300b7fbd821c6bc975531fab44
[NETFILTER]: Consolidate nf_sockopt and compat_nf_sockopt

Both lookup the nf_sockopt_ops object to call the get/set callbacks
from, but they perform it in a completely similar way.

Introduce the helper for finding the ops.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_sockopt.c