sky2: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 21:12:46 +0000 (17:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Oct 2011 21:12:46 +0000 (17:12 -0400)
commit7ae60b3f3b297b7f04025c93f1cb2275c3a1dfcd
tree3e7fe42254b51e3910161f1abc08f911d3de8983
parent98a045d7e4a59db0865a59eea2140fe36bc7c220
sky2: fix skb truesize underestimation

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

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/sky2.c