aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/minisocks.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2006-11-13 10:25:41 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:22:19 -0500
commitafb0a34dd3e20b3f534de19993271b8664cf10bb (patch)
treef7660923d8dfa7e75ea655b99a6b608d67dea327 /net/dccp/minisocks.c
parent2e2e9e92bd723244ea20fa488b1780111f2b05e1 (diff)
[DCCP]: Introduce a consistent naming scheme for sysctls
In order to make their function clearer and obtain a consistent naming scheme to identify sysctls, all existing DCCP sysctls have been prefixed with `sysctl_dccp', following the same convention as used by TCP. Feature-specific sysctls retain the `feat' in the middle, although the `default' has been dropped, since it is obvious from use. Also removed a duplicate `dccp_feat_default_sequence_window' in ipv4.c. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp/minisocks.c')
-rw-r--r--net/dccp/minisocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/minisocks.c b/net/dccp/minisocks.c
index 5b2773efd7c7..0c49733f5be1 100644
--- a/net/dccp/minisocks.c
+++ b/net/dccp/minisocks.c
@@ -300,7 +300,7 @@ void dccp_reqsk_init(struct request_sock *req, struct sk_buff *skb)
300{ 300{
301 inet_rsk(req)->rmt_port = dccp_hdr(skb)->dccph_sport; 301 inet_rsk(req)->rmt_port = dccp_hdr(skb)->dccph_sport;
302 inet_rsk(req)->acked = 0; 302 inet_rsk(req)->acked = 0;
303 req->rcv_wnd = dccp_feat_default_sequence_window; 303 req->rcv_wnd = sysctl_dccp_feat_sequence_window;
304} 304}
305 305
306EXPORT_SYMBOL_GPL(dccp_reqsk_init); 306EXPORT_SYMBOL_GPL(dccp_reqsk_init);