Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/rds: Check laddr_check before calling it
In rds_bind(), laddr_check is called without checking if it is NULL or not. And rs_transport should be reset if rds_add_bound() fails. Fixes: c5c1a03 ("net/rds: An rds_sock is added too early to the hash table") Reported-by: [email protected] Signed-off-by: Ka-Cheong Poon <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information