]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 07:50:19 +0000 (07:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Oct 2011 20:05:07 +0000 (16:05 -0400)
commita7bae464c8428cb8c8a8cfc4178c53fb0dcdbce5
treed10c9a738297aeba1c7c1a4c3be8c62ea385c675
parent6a25d23d8ba3b5ad7e5897dcb8bc1231deb905f7
bnx2: fix skb truesize underestimation

bnx2 allocates a full page per 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/broadcom/bnx2.c