]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igbvf: fix truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 20 Oct 2011 09:22:18 +0000 (09:22 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 13:21:18 +0000 (21:21 +0800)
commita78027f0f1d1d0f73ecdc75ca235b67bf7f64733
treea47a56803d04b6dd1b1c58a69ab8ed0a4c558227
parent8fe4b0949feef20db9e88a7e8fc3e6b72fd7081d
igbvf: fix truesize underestimation

igbvf allocates half a page per skb fragment. We must account
PAGE_SIZE/2 increments on skb->truesize, not the actual frag length.

(cherry picked from commit 7b8b59617ead5acc6ff041a9ad2ea1fe7a58094f)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igbvf/netdev.c