mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 13:50:52 +07:00
rds: tcp: initialize t_tcp_detached to false
Commit f10b4cff98
("rds: tcp: atomically purge entries from
rds_tcp_conn_list during netns delete") adds the field t_tcp_detached,
but this needs to be initialized explicitly to false.
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7ae0c649c4
commit
b319109396
@ -290,6 +290,7 @@ static int rds_tcp_conn_alloc(struct rds_connection *conn, gfp_t gfp)
|
||||
tc->t_cpath = &conn->c_path[i];
|
||||
|
||||
spin_lock_irq(&rds_tcp_conn_lock);
|
||||
tc->t_tcp_node_detached = false;
|
||||
list_add_tail(&tc->t_tcp_node, &rds_tcp_conn_list);
|
||||
spin_unlock_irq(&rds_tcp_conn_lock);
|
||||
rdsdebug("rds_conn_path [%d] tc %p\n", i,
|
||||
|
Loading…
Reference in New Issue
Block a user