From: Simon Kagstrom Date: Wed, 25 Nov 2009 22:09:53 +0000 (+0000) Subject: via-velocity: Correct 64-byte alignment for rx buffers X-Git-Tag: v2.6.33-rc1~388^2~206 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da95b2d422b6eb2b76789bbdbfafb7e07c493e7a;p=pandora-kernel.git via-velocity: Correct 64-byte alignment for rx buffers (From the VIA driver). The current code does not guarantee 64-byte alignment since it simply does int add = skb->data & 63; skb->data += add; (via skb_reserve). So for example, if the skb->data address would be 0x10, this would result in 32-byte alignment (0x10 + 0x10). Correct by adding 64 - (skb->data & 63) instead. Signed-off-by: Simon Kagstrom Signed-off-by: David S. Miller --- Reading git-diff-tree failed