]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/uapi: Include socket.h in rdma_user_cm.h
authorDoug Ledford <dledford@redhat.com>
Tue, 12 Aug 2014 23:20:11 +0000 (19:20 -0400)
committerRoland Dreier <roland@purestorage.com>
Wed, 13 Aug 2014 05:03:31 +0000 (22:03 -0700)
commit3bbbe5319642173edc5ded0ca94796035aafabf4
treeda2b22b41f6c7c7c66566922979cef5136d5a4c2
parent2778ab4a8adef58ced136363eb7869610b8da496
RDMA/uapi: Include socket.h in rdma_user_cm.h

added struct sockaddr_storage to rdma_user_cm.h without also adding an
include for linux/socket.h to make sure it is defined.  Systemtap
needs the header files to build standalone and cannot rely on other
files to pre-include other headers, so add linux/socket.h to the list
of includes in this file.

Fixes: ecd0d00bf1a ("RDMA/ucma: Support querying for AF_IB addresses")
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
include/uapi/rdma/rdma_user_cm.h