]> git.karo-electronics.de Git - linux-beck.git/commit
drivers/net/usb/asix.c: Fix unaligned accesses
authorNeil Jones <NeilJay@gmail.com>
Tue, 18 May 2010 00:18:28 +0000 (17:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 00:18:28 +0000 (17:18 -0700)
commit3f78d1f210ff89af77f042ab7f4a8fee39feb1c9
treef29742a1a73c27a88c7ac701a7a06ac1c2f7973a
parente7a3af5d8cd782b84e6ca4e4dcc8613be1a809f0
drivers/net/usb/asix.c: Fix unaligned accesses

Using this driver can cause unaligned accesses in the IP layer
This has been fixed by aligning the skb data correctly using the
spare room left over by the 4 byte header inserted between packets
by the device.

Signed-off-by: Neil Jones <NeilJay@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix.c