mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +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:
parent
594ccc14df
commit
4eb701dfc6
6 changed files with 54 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue