summaryrefslogtreecommitdiffstats
path: root/drivers/net/sis190.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-01-22 22:39:26 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-23 03:11:43 -0800
commitf945fa7ad9c12a3356a3de7fb2143ccc2f2c3bca (patch)
tree2dd386474d0ab5e728af671c2b2eafdacc099f09 /drivers/net/sis190.c
parentff4b950277b6534caab2b2b956dba6ce29757551 (diff)
downloadlinux-stable-f945fa7ad9c12a3356a3de7fb2143ccc2f2c3bca.tar.gz
linux-stable-f945fa7ad9c12a3356a3de7fb2143ccc2f2c3bca.tar.bz2
linux-stable-f945fa7ad9c12a3356a3de7fb2143ccc2f2c3bca.zip
[INET]: Fix truesize setting in ip_append_data
As it is ip_append_data only counts page fragments to the skb that allocated it. As such it means that the first skb gets hit with a 4K charge even though it might have only used a fraction of it while all subsequent skb's that use the same page gets away with no charge at all. This bug was exposed by the UDP accounting patch. [ The wmem_alloc bumping needs to be moved with the truesize, noticed by Takahiro Yasui. -DaveM ] Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sis190.c')
0 files changed, 0 insertions, 0 deletions