net/enc28j60: oops fix
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 6 Mar 2008 02:51:19 +0000 (18:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2008 02:51:19 +0000 (18:51 -0800)
commit02ff05c49d7804f2574f358a937b43a41d15e36e
tree487a599ee51d81fda4f7f8fdb6446e6e40ae16c4
parente8a1d919d16abaccc4564bd913cac9a0c1aaf078
net/enc28j60: oops fix

Prevent oops on enc28j60 packet RX:  make sure buffers are aligned.
Not all architectures support unaligned accesses in kernel space.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Claudio Lanconelli <lanconelli.claudio@eptar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enc28j60.c