1
0
Fork 0
alistair23-linux/include/rdma
Roland Dreier 3f44675439 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>
2008-08-04 11:02:14 -07:00
..
Kbuild [HEADERS] One line per header in Kbuild files to reduce conflicts 2006-09-19 12:43:58 +01:00
ib_addr.h RDMA/addr: Keep pointer to netdevice in struct rdma_dev_addr 2008-07-14 23:48:53 -07:00
ib_cache.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_cm.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_fmr_pool.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_mad.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_marshall.h RDMA/cma: Export rdma cm interface to userspace 2006-12-12 11:50:22 -08:00
ib_pack.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_sa.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_smi.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_umem.h IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
ib_user_cm.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_user_mad.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_user_sa.h IB: common handling for marshalling parameters to/from userspace 2006-06-17 20:37:27 -07:00
ib_user_verbs.h RDMA/core: Add memory management extensions support 2008-07-14 23:48:45 -07:00
ib_verbs.h dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
iw_cm.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
rdma_cm.h RDMA/cma: Remove padding arrays by using struct sockaddr_storage 2008-08-04 11:02:14 -07:00
rdma_cm_ib.h RDMA: Fix license text 2008-07-14 23:48:43 -07:00
rdma_user_cm.h RDMA/cma: add support for rdma_migrate_id() 2008-01-25 14:15:32 -08:00