summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@mellanox.co.il>2006-05-29 19:14:05 +0300
committerRoland Dreier <rolandd@cisco.com>2006-06-17 20:37:35 -0700
commit37c22a77212c13201497378cc8becc5c95d0f3f5 (patch)
tree5a38388266a09c9892e5d8e336d7287ae763e7c0 /include/rdma
parent31c02e215700c2b704d9441f629ae87bb9aeb561 (diff)
downloadtalos-obmc-linux-37c22a77212c13201497378cc8becc5c95d0f3f5.tar.gz
talos-obmc-linux-37c22a77212c13201497378cc8becc5c95d0f3f5.zip
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>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud