diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-10-20 10:10:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-20 17:04:20 -0400 |
commit | 924a4c7d2e962b4e6a8e9ab3aabfd2bb29e5ada9 (patch) | |
tree | 5b415d660ba9866304041006ef26ccaf86246c1d /ipc | |
parent | 7b8b59617ead5acc6ff041a9ad2ea1fe7a58094f (diff) | |
download | op-kernel-dev-924a4c7d2e962b4e6a8e9ab3aabfd2bb29e5ada9.zip op-kernel-dev-924a4c7d2e962b4e6a8e9ab3aabfd2bb29e5ada9.tar.gz |
myri10ge: fix truesize underestimation
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions