Herbert Xu
f945fa7ad9
[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>
2008-01-23 03:11:43 -08:00
..
2007-12-05 05:37:27 -08:00
2007-12-26 19:36:33 -08:00
2007-11-01 00:39:31 -07:00
2007-11-02 08:47:06 +01:00
2007-12-19 23:38:11 -08:00
2007-10-26 04:29:08 -07:00
2007-06-03 18:08:50 -07:00
2008-01-04 03:55:34 -08:00
2007-12-11 02:45:26 -08:00
2007-12-21 02:01:53 -08:00
2008-01-20 20:31:39 -08:00
2007-05-24 16:36:53 -07:00
2007-11-10 22:12:03 -08:00
2007-10-10 16:49:16 -07:00
2008-01-20 20:31:38 -08:00
2008-01-21 03:39:45 -08:00
2007-10-10 16:55:33 -07:00
2007-10-18 22:00:17 -07:00
2007-12-03 15:51:25 +11:00
2007-10-17 19:48:26 -07:00
2007-11-07 04:15:11 -08:00
2008-01-08 23:30:18 -08:00
2007-11-07 04:15:11 -08:00
2007-11-12 21:27:28 -08:00
2007-10-15 12:26:35 -07:00
2007-10-17 21:37:22 -07:00
2007-12-20 00:10:33 -08:00
2007-10-15 12:26:35 -07:00
2007-07-31 14:06:45 -07:00
2008-01-23 03:11:43 -08:00
2007-11-07 04:08:55 -08:00
2007-11-07 04:15:03 -08:00
2008-01-08 23:29:58 -08:00
2007-10-23 21:27:55 -07:00
2007-10-10 16:55:33 -07:00
2007-10-20 01:34:40 +02:00
2007-10-15 12:26:39 -07:00
2007-10-15 12:26:29 -07:00
2007-11-07 04:08:57 -08:00
2007-04-25 22:28:20 -07:00
2008-01-08 23:29:57 -08:00
2008-01-10 03:55:57 -08:00
2007-04-25 22:25:26 -07:00
2007-11-19 23:28:21 -08:00
2007-10-10 16:47:55 -07:00
2007-07-18 01:46:58 -07:00
2007-10-10 16:47:55 -07:00
2007-10-22 02:59:54 -07:00
2007-07-18 01:46:58 -07:00
2007-08-07 18:29:05 -07:00
2007-07-18 01:46:58 -07:00
2007-11-30 01:10:55 +11:00
2007-12-29 19:11:21 -08:00
2007-11-20 17:30:31 -08:00
2007-07-31 02:27:57 -07:00
2007-10-10 16:48:00 -07:00
2007-12-05 05:37:31 -08:00
2007-10-10 16:49:06 -07:00
2007-07-18 01:46:58 -07:00
2007-10-10 16:48:00 -07:00
2007-10-29 22:37:25 -07:00
2007-07-31 02:27:57 -07:00
2007-07-31 02:27:57 -07:00
2007-07-31 02:27:57 -07:00
2007-07-31 02:27:57 -07:00
2007-11-07 04:15:11 -08:00
2007-11-10 21:48:54 -08:00
2007-10-10 16:48:31 -07:00
2007-11-07 04:08:58 -08:00
2007-11-07 04:08:58 -08:00
2007-10-17 21:35:51 -07:00
2007-10-17 21:31:50 -07:00
2007-10-10 16:55:54 -07:00
2007-10-17 21:31:50 -07:00
2007-10-17 21:35:51 -07:00
2007-10-17 21:35:51 -07:00
2007-10-17 21:33:12 -07:00
2007-10-17 21:28:53 -07:00