aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-08-04 11:02:14 -0700
committerRoland Dreier <rolandd@cisco.com>2008-08-04 11:02:14 -0700
commit3f44675439b136d51179d31eb5a498383cb38624 (patch)
treea3c9f6b6c0a2fd5cd948c8482242dc859e1ddfdf /net
parentLinux 2.6.27-rc1 (diff)
downloadlinux-dev-3f44675439b136d51179d31eb5a498383cb38624.tar.xz
linux-dev-3f44675439b136d51179d31eb5a498383cb38624.zip
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 'net')
0 files changed, 0 insertions, 0 deletions