]> err.no Git - linux-2.6/commit
[PATCH] IB/addr: gid structure alignment fix
authorMichael S. Tsirkin <mst@mellanox.co.il>
Fri, 14 Jul 2006 07:23:52 +0000 (00:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 15 Jul 2006 04:53:50 +0000 (21:53 -0700)
commitf0ee3404cce2c45f8b95b341dd6311cd92e5cee0
treefc4a88c79310ea1937c6ede58c0a06f5b056078a
parent04c335430f6d9f9088c852bc05a3a0c8baa921c4
[PATCH] IB/addr: gid structure alignment fix

The device address contains unsigned character arrays, which contain raw GID
addresses.  The GIDs may not be naturally aligned, so do not cast them to
structures or unions.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/core/cma.c
include/rdma/ib_addr.h