diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-10-19 23:00:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-21 02:52:59 -0400 |
commit | e1ac50f64691de9a095ac5d73cb8ac73d3d17dba (patch) | |
tree | 5609aebc6b2f119627c13ea2295d76d3ff047e77 /drivers/net/virtio_net.c | |
parent | a8605c6063f785858c1bc431d0bfe66c41e71cfa (diff) |
bnx2x: fix skb truesize underestimation
bnx2x allocates a full page per fragment.
We must account in skb->truesize, the size of the fragment, not the used
part of it.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions