aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
authorIan McDonald <ian.mcdonald@jandi.co.nz>2006-11-20 15:30:17 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:24:37 -0500
commitb1308dc015eb09cf094ca169296738a13ae049ad (patch)
tree9c408412fc94671bb7f23b356ef328489c433d1f /net/dccp/dccp.h
parent56724aa434e9b4d73548021ede7a1474f533f3fe (diff)
[DCCP]: Set TX Queue Length Bounds via Sysctl
Previously the transmit queue was unbounded. This patch: * puts a limit on transmit queue length and sends back EAGAIN if the buffer is full * sets the TX queue length to a sensible default * implements tx buffer sysctls for DCCP Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz> 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/dccp.h')
-rw-r--r--net/dccp/dccp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h
index 33d86f53138b..3a94625a1af3 100644
--- a/net/dccp/dccp.h
+++ b/net/dccp/dccp.h
@@ -87,6 +87,7 @@ extern int sysctl_dccp_feat_tx_ccid;
87extern int sysctl_dccp_feat_ack_ratio; 87extern int sysctl_dccp_feat_ack_ratio;
88extern int sysctl_dccp_feat_send_ack_vector; 88extern int sysctl_dccp_feat_send_ack_vector;
89extern int sysctl_dccp_feat_send_ndp_count; 89extern int sysctl_dccp_feat_send_ndp_count;
90extern int sysctl_dccp_tx_qlen;
90 91
91/* is seq1 < seq2 ? */ 92/* is seq1 < seq2 ? */
92static inline int before48(const u64 seq1, const u64 seq2) 93static inline int before48(const u64 seq1, const u64 seq2)