aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/proto.c')
-rw-r--r--net/dccp/proto.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c
index be0669242069..0b715ceb38b5 100644
--- a/net/dccp/proto.c
+++ b/net/dccp/proto.c
@@ -147,7 +147,7 @@ int dccp_ioctl(struct sock *sk, int cmd, unsigned long arg)
147} 147}
148 148
149int dccp_setsockopt(struct sock *sk, int level, int optname, 149int dccp_setsockopt(struct sock *sk, int level, int optname,
150 char *optval, int optlen) 150 char __user *optval, int optlen)
151{ 151{
152 dccp_pr_debug("entry\n"); 152 dccp_pr_debug("entry\n");
153 153
@@ -158,7 +158,7 @@ int dccp_setsockopt(struct sock *sk, int level, int optname,
158} 158}
159 159
160int dccp_getsockopt(struct sock *sk, int level, int optname, 160int dccp_getsockopt(struct sock *sk, int level, int optname,
161 char *optval, int *optlen) 161 char __user *optval, int __user *optlen)
162{ 162{
163 dccp_pr_debug("entry\n"); 163 dccp_pr_debug("entry\n");
164 164
@@ -439,7 +439,7 @@ void dccp_shutdown(struct sock *sk, int how)
439 dccp_pr_debug("entry\n"); 439 dccp_pr_debug("entry\n");
440} 440}
441 441
442struct proto_ops inet_dccp_ops = { 442static struct proto_ops inet_dccp_ops = {
443 .family = PF_INET, 443 .family = PF_INET,
444 .owner = THIS_MODULE, 444 .owner = THIS_MODULE,
445 .release = inet_release, 445 .release = inet_release,
@@ -539,9 +539,11 @@ static int thash_entries;
539module_param(thash_entries, int, 0444); 539module_param(thash_entries, int, 0444);
540MODULE_PARM_DESC(thash_entries, "Number of ehash buckets"); 540MODULE_PARM_DESC(thash_entries, "Number of ehash buckets");
541 541
542#ifdef CONFIG_IP_DCCP_DEBUG
542int dccp_debug; 543int dccp_debug;
543module_param(dccp_debug, int, 0444); 544module_param(dccp_debug, int, 0444);
544MODULE_PARM_DESC(dccp_debug, "Enable debug messages"); 545MODULE_PARM_DESC(dccp_debug, "Enable debug messages");
546#endif
545 547
546static int __init dccp_init(void) 548static int __init dccp_init(void)
547{ 549{