bgmac: fix unaligned accesses to network headers
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 16 Feb 2013 11:10:38 +0000 (11:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Feb 2013 17:45:09 +0000 (12:45 -0500)
commit885d29941435e16dea6a52e42bbb3c8b87676bd8
treeb7caaac7a8a0fc706d3cff8028511c4f7e5ab80a
parent9aac22deb11a3da4df5b868fc3d30b07185b0d71
bgmac: fix unaligned accesses to network headers

Without this patch I get many unaligned access warnings per packet,
this patches fixes them all. This should improve performance on some
systems like mips.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c