https://github.com/torvalds/linux
Revision 331c4ee7faa4ee1e1404c872a139784753100498 authored by Vlad Yasevich on 10 October 2006, 04:34:04 UTC, committed by David S. Miller on 12 October 2006, 06:59:44 UTC
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 <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 6e8c751
History
Tip revision: 331c4ee7faa4ee1e1404c872a139784753100498 authored by Vlad Yasevich on 10 October 2006, 04:34:04 UTC
[SCTP]: Fix receive buffer accounting.
Tip revision: 331c4ee
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 542 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.2 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 73.2 KB
Makefile -rw-r--r-- 48.9 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top