linux/drivers/infiniband
Jack Morgenstein 37c22a7721 IPoIB: Fix kernel unaligned access on ia64
Fix misaligned access faults on ia64: never cast a misaligned
neighbour->ha + 4 pointer to union ib_gid type; pass a void * pointer
instead.  The memcpy was being optimized to use full word accesses
because the compiler thought that union ib_gid is always aligned.

The cast in IPOIB_GID_ARG is safe, since it is fixed to access each
byte separately.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-06-17 20:37:35 -07:00
..
core IB/mad: Check GID/LID when matching requests 2006-06-17 20:37:34 -07:00
hw IB/mthca: Convert FW commands to use wait_for_completion_timeout() 2006-06-17 20:37:30 -07:00
ulp IPoIB: Fix kernel unaligned access on ia64 2006-06-17 20:37:35 -07:00
Kconfig IB: address translation to map IP toIB addresses (GIDs) 2006-06-17 20:37:28 -07:00
Makefile IB/ipath: kbuild infrastructure 2006-03-31 13:14:21 -08:00