commit | c8cdd9234caced510db1a03491af475938f9855a | [log] [tgz] |
---|---|---|
author | Steve Wise <swise@opengridcomputing.com> | Tue Feb 21 11:21:57 2017 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Mar 12 06:41:50 2017 +0100 |
tree | 7e1398b97d727bf44239f912cdb48689e7679395 | |
parent | 50fc62d5eeb3392f11161637b5ed4e0d340fed74 [diff] |
rdma_cm: fail iwarp accepts w/o connection params commit f2625f7db4dd0bbd16a9c7d2950e7621f9aa57ad upstream. cma_accept_iw() needs to return an error if conn_params is NULL. Since this is coming from user space, we can crash. Reported-by: Shaobo He <shaobo@cs.utah.edu> Acked-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>