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

Commit 310886dd authored by Herton R. Krzesinski's avatar Herton R. Krzesinski Committed by David S. Miller
Browse files

net/rds: call rds_conn_drop instead of open code it at rds_connect_complete

parent ee042ec8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -78,8 +78,7 @@ void rds_connect_complete(struct rds_connection *conn)
				"current state is %d\n",
				__func__,
				atomic_read(&conn->c_state));
		atomic_set(&conn->c_state, RDS_CONN_ERROR);
		queue_work(rds_wq, &conn->c_down_w);
		rds_conn_drop(conn);
		return;
	}