[DCCP]: Set TX Queue Length Bounds via Sysctl
authorIan McDonald <ian.mcdonald@jandi.co.nz>
Mon, 20 Nov 2006 20:30:17 +0000 (18:30 -0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:24:37 +0000 (21:24 -0800)
commitb1308dc015eb09cf094ca169296738a13ae049ad
tree9c408412fc94671bb7f23b356ef328489c433d1f
parent56724aa434e9b4d73548021ede7a1474f533f3fe
[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>
net/dccp/dccp.h
net/dccp/proto.c