]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ixgbe: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 07:59:41 +0000 (07:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Oct 2011 20:05:08 +0000 (16:05 -0400)
commit98130646770db42cd14c44ba0d7f2d0eb8078820
tree3e377b83567998c6a33785f60cdbda1f9ecfa80f
parent95b9c1dfb7b929f5f3b203ed95c28bdfd069d122
ixgbe: fix skb truesize underestimation

ixgbe 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/ixgbe/ixgbe_main.c