myri10ge: fix truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 20 Oct 2011 10:10:03 +0000 (10:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Oct 2011 21:04:20 +0000 (17:04 -0400)
skb->truesize must account for allocated memory, not the used part of
it. Doing this work is important to avoid unexpected OOM situations.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Jon Mason <mason@myri.com>
Acked-by: Jon Mason <mason@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found