summaryrefslogtreecommitdiffstats
path: root/scripts/headers_install.pl
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 /scripts/headers_install.pl
parent6e86841d05f371b5b9b86ce76c02aaee83352298 (diff)
downloadlinux-3f44675439b136d51179d31eb5a498383cb38624.tar.gz
linux-3f44675439b136d51179d31eb5a498383cb38624.tar.bz2
linux-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 'scripts/headers_install.pl')
0 files changed, 0 insertions, 0 deletions