mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
[SCTP] Fix SCTP sendbuffer accouting.
- Include chunk and skb sizes in sendbuffer accounting. - 2 policies are supported. 0: per socket accouting, 1: per association accounting DaveM: I've made the default per-socket. Signed-off-by: Neil Horman <nhorman@redhat.com> Signed-off-by: Sridhar Samudrala <sri@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
594ccc14df
commit
4eb701dfc6
@@ -1043,6 +1043,9 @@ SCTP_STATIC __init int sctp_init(void)
|
||||
sctp_max_retrans_path = 5;
|
||||
sctp_max_retrans_init = 8;
|
||||
|
||||
/* Sendbuffer growth - do per-socket accounting */
|
||||
sctp_sndbuf_policy = 0;
|
||||
|
||||
/* HB.interval - 30 seconds */
|
||||
sctp_hb_interval = 30 * HZ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user