]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 17 Sep 2014 15:06:52 +0000 (17:06 +0200)
commitd1079a21adf42e46f4f05defa545b38ad4bf6675
tree70c56a6279938e20a6577b62e63cd3a344d3911c
parent904c6df509830db3e20429523963084b355a3a49
RDMA/uapi: Include socket.h in rdma_user_cm.h

commit db1044d458a287c18c4d413adc4ad12e92e253b5 upstream.

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: ee7aed4528f ("RDMA/ucma: Support querying for AF_IB addresses")
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
include/uapi/rdma/rdma_user_cm.h