]> git.baikalelectronics.ru Git - kernel.git/commit
solos-pci: ensure all TX packets are aligned to 4 bytes
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 19 Dec 2012 11:01:21 +0000 (11:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2012 22:53:53 +0000 (14:53 -0800)
commitdc6b0a5b8113063f8a68aaf196463dc8bea99b08
tree2a3cc4287755749cc5e4e6a7fe837ab69b6a5703
parentaeefd8c0c4643c95e28b1a2248ae283a63ed43eb
solos-pci: ensure all TX packets are aligned to 4 bytes

The FPGA can't handled unaligned DMA (yet). So copy into an aligned buffer,
if skb->data isn't suitably aligned.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/solos-pci.c