]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 07:56:41 +0000 (07:56 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 13:00:30 +0000 (21:00 +0800)
commit18c9e518db0a975de4e0370b742a93e0789ebfd9
tree515ba2da3b56074e006d5384586bcab534f4061a
parent9be0927a0e97ecc053f3dcf6ebb054aadc495dae
igb: fix skb truesize underestimation

e1000 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 95b9c1dfb7b929f5f3b203ed95c28bdfd069d122)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igb/igb_main.c