Files
linux/drivers
Simon Kagstrom da95b2d422 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 <simon.kagstrom@netinsight.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-26 15:51:06 -08:00
..
2009-11-04 14:04:06 +01:00
2009-11-18 23:29:57 -08:00
2009-11-12 07:25:57 -08:00
2009-11-16 16:13:35 +00:00
2009-11-12 07:26:01 -08:00
2009-11-16 16:15:49 +00:00
2009-11-11 12:21:06 -05:00
2009-11-17 17:40:32 -08:00
2009-11-23 17:05:41 -05:00