]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 07:53:42 +0000 (07:53 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 03:13:14 +0000 (11:13 +0800)
commit925d039aa0bff9e6fe89e1f147a554180ba48528
treeacb031bd3680a860286e7bba0c763892f5c736d5
parentfb04c13919909e0a6c0eb6122a5ba12d5b555ff1
e1000: fix skb truesize underestimation

e1000 allocates a full page per skb fragment. We must account PAGE_SIZE
increments on skb->truesize, not the actual frag length.

(cherry picked from commit ed64b3cc11502f50e1401f12e33d021592800bca)
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/e1000/e1000_main.c