From: Lennert Buytenhek Date: Tue, 18 Nov 2008 04:28:58 +0000 (+0000) Subject: mv643xx_eth: fix recycle check bound X-Git-Tag: v2.6.28-rc6~8^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11b4aa03b212cbaa969df25e723fbd400a6e24b9;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed