]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 07:59:41 +0000 (07:59 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:19:22 +0000 (22:19 +0800)
commit8a2afea7cd3f08a98d9409d0f2aedaa5f4f6d0f2
tree338baf698d586a4792c4fdca1c35886cd1e3dd4d
parent51bd7681374e0fc44e843d9177d7749437458a65
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.

(cherry picked from commit 98130646770db42cd14c44ba0d7f2d0eb8078820)
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/ixgbe/ixgbe_main.c