[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
|
@ -643,6 +643,7 @@ enum {
|
|||
NET_SCTP_MAX_BURST = 12,
|
||||
NET_SCTP_ADDIP_ENABLE = 13,
|
||||
NET_SCTP_PRSCTP_ENABLE = 14,
|
||||
NET_SCTP_SNDBUF_POLICY = 15,
|
||||
};
|
||||
|
||||
/* /proc/sys/net/bridge */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue