aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/netfilter/nf_sockopt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/netfilter/nf_sockopt.c b/net/netfilter/nf_sockopt.c
index 87bc1443c520..3dd4b3c76d81 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,
143 if (ops->compat_get) 143 if (ops->compat_get)
144 ret = ops->compat_get(sk, val, opt, len); 144 ret = ops->compat_get(sk, val, opt, len);
145 else 145 else
146 ret = ops->get(sk, val, ops, len); 146 ret = ops->get(sk, val, opt, len);
147 } else { 147 } else {
148 if (ops->compat_set) 148 if (ops->compat_set)
149 ret = ops->compat_set(sk, val, ops, *len); 149 ret = ops->compat_set(sk, val, opt, *len);
150 else 150 else
151 ret = ops->set(sk, val, ops, *len); 151 ret = ops->set(sk, val, opt, *len);
152 } 152 }
153 153
154 module_put(ops->owner); 154 module_put(ops->owner);