diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-08-04 11:02:14 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-08-04 11:02:14 -0700 |
commit | 3f44675439b136d51179d31eb5a498383cb38624 (patch) | |
tree | a3c9f6b6c0a2fd5cd948c8482242dc859e1ddfdf /drivers/hwmon/w83627hf.c | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (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 'drivers/hwmon/w83627hf.c')
0 files changed, 0 insertions, 0 deletions