diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-11-18 05:28:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-20 10:39:52 +0100 |
commit | 11b4aa03b212cbaa969df25e723fbd400a6e24b9 (patch) | |
tree | b0ebca9928b2184fc498996a9871fad06542538a /include/asm-generic/4level-fixup.h | |
parent | mv643xx_eth: fix the order of mdiobus_{unregister, free}() calls (diff) | |
download | linux-11b4aa03b212cbaa969df25e723fbd400a6e24b9.tar.xz linux-11b4aa03b212cbaa969df25e723fbd400a6e24b9.zip |
mv643xx_eth: fix recycle check bound
When mv643xx_eth allocates skbuffs, it adds
'dma_get_cache_alignment() - 1' to the length it needs, so that it can
align the skb's ->data pointer to a cache boundary. When checking
whether a transmitted skbuff can be reused as a receive buffer, these
bytes needs to be included into the minimum bound for the recycle check.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-generic/4level-fixup.h')
0 files changed, 0 insertions, 0 deletions