diff options
| author | Eric Dumazet <[email protected]> | 2011-10-13 11:30:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-10-14 02:25:20 +0000 |
| commit | 5935f81c595897d213afcf756e3e41af7c704f0e (patch) | |
| tree | 50e47acd398d7c865134fa3dd54e51830b3563ac /lib/fault-inject.c | |
| parent | sky2: fix skb truesize underestimation (diff) | |
| download | kernel-5935f81c595897d213afcf756e3e41af7c704f0e.tar.gz kernel-5935f81c595897d213afcf756e3e41af7c704f0e.zip | |
ftgmac100: fix skb truesize underestimation
ftgmac100 allocates a page per skb fragment. We must account
PAGE_SIZE increments on skb->truesize, not the actual frag length.
If frame is under 64 bytes, page is freed, and truesize adjusted.
Signed-off-by: Eric Dumazet <[email protected]>
CC: Po-Yu Chuang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
