]> git.baikalelectronics.ru Git - kernel.git/commit
igbvf: fix truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 20 Oct 2011 09:22:18 +0000 (09:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Oct 2011 21:04:20 +0000 (17:04 -0400)
commit1a6ea211d4793c5b666212b155eec5ae8fd139c7
tree932f64146b8ae8d0ad5ab5e89f9e4e7aea10dfae
parent3dc61655b1ee867b8714322a9c6fde2cdc909639
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.

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>
drivers/net/ethernet/intel/igbvf/netdev.c