diff options
author | Patrick McHardy <kaber@trash.net> | 2007-11-15 14:29:21 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-15 14:29:21 -0800 |
commit | 6452a5fde03717c55dbb8b6b0b5bfab510ad38d5 (patch) | |
tree | 90a605c07abdaed8228ca0cb2687ccde90261d3e /net/netfilter | |
parent | dab6ba36888a12f3e3edff71eeef968fc159178a (diff) | |
download | kernel_samsung_tuna-6452a5fde03717c55dbb8b6b0b5bfab510ad38d5.zip kernel_samsung_tuna-6452a5fde03717c55dbb8b6b0b5bfab510ad38d5.tar.gz kernel_samsung_tuna-6452a5fde03717c55dbb8b6b0b5bfab510ad38d5.tar.bz2 |
[NETFILTER]: fix compat_nf_sockopt typo
It should pass opt to the ->get/->set functions, not ops.
Tested-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nf_sockopt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/netfilter/nf_sockopt.c b/net/netfilter/nf_sockopt.c index 87bc144..3dd4b3c 100644 --- a/net/netfilter/nf_sockopt.c +++ b/net/netfilter/nf_sockopt.c @@ -143,12 +143,12 @@ static int compat_nf_sockopt(struct sock *sk, int pf, int val, if (ops->compat_get) ret = ops->compat_get(sk, val, opt, len); else - ret = ops->get(sk, val, ops, len); + ret = ops->get(sk, val, opt, len); } else { if (ops->compat_set) - ret = ops->compat_set(sk, val, ops, *len); + ret = ops->compat_set(sk, val, opt, *len); else - ret = ops->set(sk, val, ops, *len); + ret = ops->set(sk, val, opt, *len); } module_put(ops->owner); |