|author||Vlad Yasevich <firstname.lastname@example.org>||2006-10-09 21:34:04 -0700|
|committer||David S. Miller <email@example.com>||2006-10-11 23:59:44 -0700|
[SCTP]: Fix receive buffer accounting.
When doing receiver buffer accounting, we always used skb->truesize. This is problematic when processing bundled DATA chunks because for every DATA chunk that could be small part of one large skb, we would charge the size of the entire skb. The new approach is to store the size of the DATA chunk we are accounting for in the sctp_ulpevent structure and use that stored value for accounting. Signed-off-by: Vlad Yasevich <firstname.lastname@example.org> Signed-off-by: Sridhar Samudrala <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions