]> git.baikalelectronics.ru Git - kernel.git/commit
IB/addr: Verify source and destination address families match
authorSean Hefty <sean.hefty@intel.com>
Thu, 19 Nov 2009 20:55:22 +0000 (12:55 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Nov 2009 20:55:22 +0000 (12:55 -0800)
commit2b4ff2198b86aedc923fcf7e1e95f9b928197119
tree0343fc239b6bc63b992878b2721af320feb39101
parentc28f18999b8e5a680efaa288ca49f57c89f782f2
IB/addr: Verify source and destination address families match

If a source address is provided, verify that the address family matches
that of the destination address.  If the source is not specified, use the
same address family as the destination.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/addr.c