From: Matthew Finlay Date: Tue, 19 May 2015 07:11:48 +0000 (-0700) Subject: IB/cma: Fix broken AF_IB UD support X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~2^2~75^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c07678bb01374c510b0f6d4a3832c28ba33e9613;p=pandora-kernel.git IB/cma: Fix broken AF_IB UD support Support for using UD and AF_IB is currently broken. The IB_CM_SIDR_REQ_RECEIVED message is not handled properly in cma_save_net_info() and we end up falling into code that will try and process the request as ipv4/ipv6, which will end up failing. The resolution is to add a check for the SIDR_REQ and call cma_save_ib_info() with a NULL path record. Change cma_save_ib_info() to copy the src sib info from the listen_id when the path record is NULL. Reported-by: Hari Shankar Signed-off-by: Matt Finlay Acked-by: Sean Hefty Signed-off-by: Doug Ledford --- Reading git-diff-tree failed