Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8cdd923 authored by Steve Wise's avatar Steve Wise Committed by Greg Kroah-Hartman
Browse files

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: default avatarShaobo He <shaobo@cs.utah.edu>
Acked-by: default avatarSean Hefty <sean.hefty@intel.com>
Signed-off-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50fc62d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment