projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dab6ba3
)
[NETFILTER]: fix compat_nf_sockopt typo
author
Patrick McHardy
<kaber@trash.net>
Thu, 15 Nov 2007 22:29:21 +0000
(14:29 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 Nov 2007 22:29:21 +0000
(14:29 -0800)
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>
net/netfilter/nf_sockopt.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/nf_sockopt.c
b/net/netfilter/nf_sockopt.c
index 87bc1443c52033bfd2be64179bd08321d070c1d9..3dd4b3c76d811a6545a0a26140f59ac237020ea4 100644
(file)
--- 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, op
s
, len);
+ ret = ops->get(sk, val, op
t
, len);
} else {
if (ops->compat_set)
- ret = ops->compat_set(sk, val, op
s
, *len);
+ ret = ops->compat_set(sk, val, op
t
, *len);
else
- ret = ops->set(sk, val, op
s
, *len);
+ ret = ops->set(sk, val, op
t
, *len);
}
module_put(ops->owner);