aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phantom.h
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-08-04 14:02:14 -0400
committerRoland Dreier <rolandd@cisco.com>2008-08-04 14:02:14 -0400
commit3f44675439b136d51179d31eb5a498383cb38624 (patch)
treea3c9f6b6c0a2fd5cd948c8482242dc859e1ddfdf /include/linux/phantom.h
parent6e86841d05f371b5b9b86ce76c02aaee83352298 (diff)
RDMA/cma: Remove padding arrays by using struct sockaddr_storage
There are a few places where the RDMA CM code handles IPv6 by doing struct sockaddr addr; u8 pad[sizeof(struct sockaddr_in6) - sizeof(struct sockaddr)]; This is fragile and ugly; handle this in a better way with just struct sockaddr_storage addr; [ Also roll in patch from Aleksey Senin <alekseys@voltaire.com> to switch to struct sockaddr_storage and get rid of padding arrays in struct rdma_addr. ] Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/linux/phantom.h')
0 files changed, 0 insertions, 0 deletions