Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Herton R. Krzesinski and committed by
David S. Miller
310886dd ee042ec8

+1 -2
+1 -2
net/rds/threads.c
··· 78 78 "current state is %d\n", 79 79 __func__, 80 80 atomic_read(&conn->c_state)); 81 - atomic_set(&conn->c_state, RDS_CONN_ERROR); 82 - queue_work(rds_wq, &conn->c_down_w); 81 + rds_conn_drop(conn); 83 82 return; 84 83 } 85 84