diff options
author | John Heffner <jheffner@psc.edu> | 2006-03-25 01:34:07 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-25 01:34:07 -0800 |
commit | 7b4f4b5ebceab67ce440a61081a69f0265e17c2a (patch) | |
tree | ac02c685ce23f2440fecbebaa5b55cd47947c03e /include/net/route.h | |
parent | 2babf9daae4a3561f3264638a22ac7d0b14a6f52 (diff) |
[TCP]: Set default max buffers from memory pool size
This patch sets the maximum TCP buffer sizes (available to automatic
buffer tuning, not to setsockopt) based on the TCP memory pool size.
The maximum sndbuf and rcvbuf each will be up to 4 MB, but no more
than 1/128 of the memory pressure threshold.
Signed-off-by: John Heffner <jheffner@psc.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/route.h')
0 files changed, 0 insertions, 0 deletions